EnableHingeJointAngularMotor()

语法

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

参数

#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.

返回值

无.

参阅

HingeJoint()

已支持操作系统

所有

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