How do I make a ragdoll stand up?

So If  I have a ragdoll, how can I make him stand?

Hi @Aleyum,

Well, it depends on how you constructed the ragdoll. I assume you’re using physics? If so, I would suggest that you position the ragdoll’s head at the desired point, and ideally the limbs should fall into the proper place (this of course assumes that you set up all of the physics joints properly, which is not necessarily a trivial task if you haven’t used physics much before, but otherwise it shouldn’t be too difficult).

Hope this helps,

Brent

Ok will try thanks!

Ok but how excatly do I pin his head? 

Hi @Aleyum,

Well, there are various ways, but I would suggest that you use a touch joint on the ragdoll’s head, and use :setTarget() on that joint to move it to a position.

http://docs.coronalabs.com/guide/physics/physicsJoints/index.html#touch

Take care,

Brent

Hi @Aleyum,

Well, it depends on how you constructed the ragdoll. I assume you’re using physics? If so, I would suggest that you position the ragdoll’s head at the desired point, and ideally the limbs should fall into the proper place (this of course assumes that you set up all of the physics joints properly, which is not necessarily a trivial task if you haven’t used physics much before, but otherwise it shouldn’t be too difficult).

Hope this helps,

Brent

Ok will try thanks!

Ok but how excatly do I pin his head? 

Hi @Aleyum,

Well, there are various ways, but I would suggest that you use a touch joint on the ragdoll’s head, and use :setTarget() on that joint to move it to a position.

http://docs.coronalabs.com/guide/physics/physicsJoints/index.html#touch

Take care,

Brent