RagDoll in IRRLICHT

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
fjpeces
Posts: 8
Joined: Mon Dec 13, 2010 10:19 am

RagDoll in IRRLICHT

Post by fjpeces »

Hello, I'm looking for advice!

I have exported a mesh.x from Blender, this Mesh have its Skeleton included.

I wonder if is possible to move my mesh (Bones) as a ragdoll using IRRLICHT engine or i need use a extra tool to implement this behavior. I want to move the mesh with the functions setposition and getposition, because in principle the mesh doesnt have animation.

thank you!!
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Generally, ragdoll physics are accomplished using a physics engine, such as Bullet, PhysX, ODE, Newton, etc.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can enable a ragdoll mode for skeletal based meshes. Get the joint you want to move, set position or rotation to it, and the descendant parts will move accordingly.
fjpeces
Posts: 8
Joined: Mon Dec 13, 2010 10:19 am

Post by fjpeces »

hybrid wrote:You can enable a ragdoll mode for skeletal based meshes. Get the joint you want to move, set position or rotation to it, and the descendant parts will move accordingly.
what is the method in Irrlicht to enable the ragdoll mode? or what you meant is that i have to enable the ragdoll mode in a Physics engine?? Now I'm trying use Newton.

Could you link me to any tutorial about this?

thank you!!!!!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You should find some examples on the forum. Try the search button.
The animated mesh setup is described on the Wiki.
Combination with a physics engine should also be explained somewhere on the forum. But it's mostly up to you.
Post Reply