MotorAspectSetPositionVelocity Method |
Sets the current position and velocity of the motor, subject to position limits.
Namespace: Demo3D.Visuals.MotorAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic void SetPositionVelocity(
double position,
double velocity
)
Parameters
- position Double
- The (signed) position for the motor.
- velocity Double
- The (signed) velocity for the motor.
Remarks
Note that the position of the motor cannot be locked. This function should be used
cautiously, since it is not lockable and some components may assume that changes in the
position obey the kinematics of the motor.
See Also