Add3DPhysicsRagDollTwistJoint
Description
Creates a physics Cone Twist joint between ragdoll bone A and B at the location of the objects bone.
Definition
Add3DPhysicsRagDollTwistJoint( boneAID, boneBID, objBoneID, jointRotationVec3, limitsVec3 )
void agk::Add3DPhysicsRagDollTwistJoint( UINT boneAID, UINT boneBID, UINT objBoneID, int jointRotationVec3, int limitsVec3 )
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.
- limitsVec3 - ID of the vector with the joint limits