Add3DPhysicsRagDollHingeJoint
Description
Creates a physics hinge joint between ragdoll bone A and B at the location of the objects bone.
Definition
Add3DPhysicsRagDollHingeJoint( boneAID, boneBID, objBoneID, jointRotationVec3, minLimit, maxLimit )
void agk::Add3DPhysicsRagDollHingeJoint( uint32_t boneAID, uint32_t boneBID, uint32_t objBoneID, int jointRotationVec3, float minLimit, float maxLimit )
Parameters
- boneAID - ID of the RagDoll bone returned from Add3DPhysicsRagDollBone
- boneBID - ID of the RagDoll bone returned from Add3DPhysicsRagDollBone
- objBoneID - ID of the bone in the object which will be the location of the ragdoll joint
- jointRotationVec3 - Id of the vector with the rotation of the joint.
- minLimit - float value in angular degrees
- maxLimit - float value in angular degrees