VariableSpeedMotorReset Method |
Resets the motor.
Namespace:
Demo3D.Visuals.Motor
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic void Reset(
double time
)
Parameters
- time
- Type: SystemDouble
The time at which the motor is to be reset.
Exceptions
Remarks
The provided
time must be the time at which the motor is reset. After
calling this method the state is reset. If
ApplyInitialStateOnReset is
set to true then the
InitialState is applied. Conversely, if set to false
then the motor is advanced to the provided
time before the time on
the motor is reset to zero. In this case the motor will retain the position, velocity
and acceleration that it had before resetting. Only the time will be reset to zero.
See Also