EnableHingeJointAngularMotor()

Syntax

EnableHingeJointAngularMotor(#Joint, Enable, TargetVelocity, MaxMotorImpulse)
Description
Enables the angular motor on the specified hinge joint.

Parameters

#Joint The joint to use. The joint has to be created with HingeJoint().
Enable Enables or disables the hinge joint angular motor. If set to #True, the motor is enabled, if set to #False, the motor is disabled.
TargetVelocity The velocity the motor should produce.
MaxMotorImpulse The maximum impulse the motor can set.

Return value

None.

See Also

HingeJoint()

Supported OS

All

<- ConeTwistJoint() - Joint Index - FreeJoint() ->