PDA

View Full Version : Collision response between two objects


Nils Schneider
Mar27-03, 03:52 PM
Hello users,

I'm working on a game at the moment which needs some physics. I try to simulate two objects at the moment that are colliding in the air. I know the mass of both objects, the mass center point, the collision point, their current rotation and their current speed etc, all I need ( I think ).
But I don't know how to figure out what will be the new speeds of both objects and their new rotations.
Does someone know a good link where I can read something about it. I think my knowledge of math should be good enough to program a solution for it if I only know the right formulas. I've read already something about F, a, v, m and all that stuff and I know the basics, but I don't know where to use which formula. Any hints would be great.

Thanks!

Nils

chroot
Mar27-03, 03:54 PM
Conservation of linear momentum:

http://hyperphysics.phy-astr.gsu.edu/hbase/conser.html#conmom

- Warren

enigma
Mar28-03, 03:03 AM
Hey Nils,

I had to write a program which modeled the collision of a rotating 'barbell' and a surface.

If you know how to speak MATLAB, I'll be more than happy to send it to you. It's only 2D, and it doesn't include any friction effects, but it could help get you started.