NxCharacter, joins, cloth and ragdoll

kjuanlu

27-11-2009 08:01:51

Hello, I´m using ogre and physx (not nxogre), and I have made some progress: http://www.youtube.com/watch?v=W_wqt2EN5Bw

Well, I have a character that moves well with animations (skeleton), and the character has collision detection. I'm using NxBoxControllerDesc for the detection of collisions
(
#include "NxControllerManager.h"
#include "NxBoxController.h"
)

For me now, a box is sufficient for physical, but I wish my character had a long jacket, This jacket will be a cloth (I managed to render cloth on ogre through Ogre::ManualObject http://www.youtube.com/watch?v=y43SyEg3DqE )

But obviously, A cloth can not joint to NxBoxControllerDesc (because it has no orientation, and because this is a box that does not correspond to the mesh)

And in this point, I have many questions.

For a ragdoll, actors are used for each bone, but the ragdoll is not used until the character dies. But I thought the ragdoll (or all actors for each bone) can help me to do the joint with the cloth. I only need the ragdoll (all actors for each bone) for the joint with the cloth, and for collisions with the cloth. It is not necessary that actors (and the cloth) collide with the rest of the scene, only with the cloth.

And, I think that this actors with the cloth should be in another physx scene. I'm going in the right direction?
Is there any article or topic in this forum of reference?

Thanks and sorry for my bad english

Edit:
This is what I get: http://www.youtube.com/watch?v=npb7BlM-8qg

LucaMoller

28-11-2009 04:05:10

Very Nice!