How to prohibit objects falling over?

Fred

08-05-2008 21:33:58

Hi there,

In my application I've a floor and several objects on this floor. Some of these the player should be able to move. But if I move these objects they fall over. All the objects are currently convex shapes. How can I prohibit that the objects fall over. But also a problem is that the objects should fall over if there is a very big force or something else. On the one hand the objects are not allowed to fall over(for example a character which is moved by the player is not allowed to turn upside down or something like that). On the other hand it must be possible to turn this object around, if there is a big force(for example a character which is hit by an missile has to fly away and turn around)

Thanks for help,
Fred

betajaen

08-05-2008 21:40:04

I would suggest "NX_BF_FROZEN", but you want them to fall over with large objects.

I wonder if you could do it with dominance groups.

Fred

16-05-2008 10:37:30

Thanks will see what to do;

But there is another problem:
My character should walk over the ground. Because of Damping and because of a big model I raised the gravity to 98.1. Now the character falls on the ground. But when I try to move it, it will move a bit and then it falls over. But I don't want so. I could decrease the damping, but then the object would not stop. Are there any values for Damping and added forces that the player could move fast enough on the ground, stop moving, if the key is released and doesn't fall on the ground?

BTW: It is a simple cube-shape at the moment.

betajaen

16-05-2008 11:26:43

The gravity is way to high, which when your character does fall over, it'll be very hard for it to get up. I would use the flags "NX_BF_FROZEN_", with some damping (but not a lot).

Fred

16-05-2008 17:06:53

Ah, I've just seen there are more types of NX_BF_FROZEN. That makes sense.

Thanks a lot...