Set3DPhysicsHingeJointMotorVelocity
Description
Set the target velocity for a hinge joint. Must be called in the loop. Enable joint first with Set3DPhysicsHingeJointMotorIsEnabled()
Definition
Set3DPhysicsHingeJointMotorVelocity( jointID, targetVelocity )
void agk::Set3DPhysicsHingeJointMotorVelocity( UINT jointID, float targetVelocity )
Parameters
- jointID - Id of joint
- targetVelocity - The target velocity to be used.