Conceptual wuestion

M@rT1n

19-05-2006 16:46:01

Hi!

A question:
Did i have to do that the player of my game isn't affected by the physics?
I being thinking, if someone shoott a sniper, the bullet starts moving very very fast, so when it crash with the player, it will die and fall down by it side directly to the floor because of the bullet force. But i don't wont that, i wan't that the player can't go to the floor using it's side just like that.

Imagine a model droped in the floor from it's side, i don't know if u now what i mind? the model can fall down from it's side! if is hited hard. but this is not cool...

I being thinking, if I add an static body to player entity, it will never move to the sides, but i want it moves a litle when a bullet crash on him. at least the camera; and it has to me to when is died(on die it is transformed in a ragdoll so it can be moved, handled, shooted, etc).


Some idea?

Thanks

betajaen

22-05-2006 14:55:39

In theory if you hit a supported ragdoll from then on, then release it, then apply the force of the bullet to say it's head. It should (the head at least) fall in the direction of the bullet was travelling.

However you have other factors, is the rag doll on the slope, is one leg shorter than an other and so on.

So the only real way to find out is try it out yourself. :D