# Add3DPhysicsRagdollHingeJoint

## Description

Creates a physics hing 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( UINT boneAID, UINT boneBID, UINT 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