how to stick an arm on a body

johnjanowskibsc

  • Posts: 90
Hi,

I've read about this and tried to understand what to do but I can't seem to stick an arm onto a body! When I add the code attached I come up with an arm that floats away from the body. When I play with stick joints I seem to either crash the game or I cannot get the joint to attach in the right place. I cannot seem to customise where the joint appears as it always appears at the centre of the character in the scene editor. 

Here is a link of what I am trying achieve the arm from this game here: https://www.crazygames.com/game/getaway-shootout

Any help would be great! Thanks.





squeeb

  • Posts: 1555
Also..there is a rag doll example in the forge you can download ... has a  person made of joints, you can see how its done

johnjanowskibsc

  • Posts: 90
Thanks - I was able to pick apart the rag doll extension and now have the arm stuck to the body and behaving how I wanted it to!

Here is the code for reference should anyone come across the same issue.

Thanks