Recoil

Started by
12 comments, last by BioSquirrel 22 years, 3 months ago
Does anyone know of a way/formula to find recoil of a bullet after hitting an object depending on size of the bullet, velocity of the bullet, strength of object, etc?
Advertisement
Unless you''re shooting at really small objects like soda cans, the effect is really too inconsequential to even bother simulating. Hollywood to the contrary, a 9mm bullet will not knock a person backwards 30 feet or even 30 inches for that matter.
If I can do this off the top of my head... conservation of energy/momentum...

If the bullet stops inside the man:

MassOfMan*VelocityOfManBeforeStrike + MassofBullet*VelocityofBullet = MassofMan*VelocityofManAfterStrike

Do the algebra to calculate the final velocity... normaly it won't be that much because the bullet is so small compared to the man...





Edited by - quarnin on January 8, 2002 7:24:48 PM
From my experience hunting and target shooting, I would say that its a small shove backwards: depending on size of the object and mass of the bullet, of course.

Taken from firing a 30-06.
For anything under 100 lbs it will get knocked over/around a bit.
Over 100 lbs, it will stagger, maybe fall if its under 200.

You have 2 masses.
Man and Bullet.

2 veleocities(sp)
Man and Bullet

2 Accels
Man and bullet.

End force of two ideal non-fluid objects hitting each other...
Fone - Ftwo = Fend

My neurons are not firing right at the moment, so I wont work the math, but that, along with quarnin, should get you the right equations.
Have fun !


~V'lionBugle4d
Use newton''s third and second laws.
Thanks guys!
Are you looking to actually calculate this or just "simulate" this action? For example, for a moving humaniod you could momentarily stop his movement. In a game called counter-strike, this is what happens. This can be easily done by stoping or drastcially slowing down velocity.

If not, then go with above ideas, but this will have less cpu calculations.
I don''t know what you want to use it for, but if it''s a game that doesn''t have to be superrealistic, you could multiply the momentum of the bullets by a certain factor to let it look much more dramatic (and Hollywood like).
Anyhow, most people (at least where I live) don''t really know how a bullet-hit affects a person (or animal), they only know what they''ve seen in movies, so that''s the way how they expect it to be. So if you did it relly realistic, they would perhaps say your effect is lame...
However, it''s time to educate people


Yesterday we still stood at the verge of the abyss,
today we''re a step onward!
Yesterday we still stood at the verge of the abyss,today we're a step onward! Don't klick me!!!
Roger that.
(just do with animals, no people, k )
~V'lionBugle4d
YOu guys are all working with rigid body physics though. Although the bullet is a rigid body, a person/animal will not be. THe bullet punctures the skin and the flesh absorbs the hit, don''t forget that. Now rubber bullets...hehe they cause double recoil upon hit.

-----------------------------
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

This topic is closed to new replies.

Advertisement