Click or drag to resize

VariableSpeedMotorSetPositionVelocity Method

Sets the position and velocity to the specified values at the specified time.

Namespace:  Demo3D.Visuals.Motor
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public void SetPositionVelocity(
	double position,
	double velocity,
	double time
)

Parameters

position
Type: SystemDouble
The new value for the (signed) position.
velocity
Type: SystemDouble
The new value for the (signed) velocity.
time
Type: SystemDouble
The time at which the position is changed.
Remarks
This function can be used to teleport to a specific position. Note that the value specified is clamped to satisfy the position limits.
See Also