
    y# = limb position y (objectID, limbA)
    z# = limb position z (objectID, limbA)
    PHY SET JOINT GLOBAL ANCHOR jointDesc, x#, y#, z#
    PHY MAKE JOINT id, jointDesc  
ENDFUNCTION
</pre>


         <H5>DarkGDK</H5>

<pre class = "gdk">
void makeJoint(int objectID, int limbA, int limbB){
phySetJointActorA(1, objectID, limbA);
phySetJointActorB(1, objectID, limbB);
phySetJointGlobalAnchor(1, dbLimbPositionX(objectID, limbA), dbLimbPositionY(objectID, limbA), dbLimbPositionZ(objectID, limbA));
phyMakeJ