CP::Constraint::SimpleMotor
Inherits CP::Constraint < Reference < Object
Keeps the relative angular velocity of a pair of bodies constant.
Constructors
Instance methods
rate
The desired relative angular velocity of the motor.
You will usually want to set a force (torque) maximum for motors as otherwise they will be able to apply a nearly infinite torque to keep the bodies moving.