Is this possible?

SiW

29-11-2006 18:52:36

Forgive me if I use incorrect terminology, as I'm not at an intimate level with OGRE nor PhysX (though I'm an experienced developer), but what I want to do is this..

I have a humanoid character, with an OGRE skeleton. As it is animated, I want the various body parts to interact with environment objects, but the character's animation is not physically driven.

If that doesn't sound clear, let me paint a picture.. The character is standing by a stack of blocks and waves its hand. The hand hits the blocks and the blocks go tumbling. A ball is thrown at the character and hits the chest - the ball bounces off but the character is not affected.

From what I've read, I know I'd have to come up with my own way of mapping the OGRE skeleton to a series of PhysX physical objects each frame, so I guess my question is is that even a possibility? I think PhysX does support such "semi-physical" objects, right?

If it's not possible with NxOgre, can any of the other physics engine bindings do it?

Sorry for sounding so clueless but right now I don't even have the PhysX SDK installed as I just reinstalled Windows :*)

betajaen

29-11-2006 20:11:00

As I understand it, a self standing ragdoll?

If yes, then yes it is possible.

SiW

29-11-2006 20:50:19

As I understand it, a self standing ragdoll?

Hmm, a ragdoll would imply that the figure is animated physically, when it isn't, all animations would be fully under my control. I mean, it would be cool if I could combine physical motion with pre-created motion, I just don't think that's possible.

I'll get everything reinstalled and have another look at things.

Thanks - and great work on NxOgre.

ColeZero

30-11-2006 09:23:42

of course this is possible with physx, but you need ragdoll.
you can download the rocket-Tools, or physX-Tools, there are some samples about ragdoll within. there is a sample with a running horse. the horse is running against some walls and the walls are pushed away.
you can tell the ragdoll not to act like a ragdoll.

but...nxOgre currently doesn't support ragdoll, so you need to program it yourself..

But this is definitely possible with physx..