This method sets the target rotation of a motorized hinge or kinematic joint.
Parameter | Description |
---|---|
rotation, (pitch, yaw, roll) | target rotation to set |
A hinge joint accepts a single rotation value. A kinematic joint requires a quaternion or Euler rotation.
You must call Joint::SetMaxTorque and specify a non-zero torque before this command will have any effect.