2D collision handling between two different moving objects
I'm making a 2d top-down space strategy game with a variety of space ships in Java. Up till now I've simply had collision detection between ships and weaponry, edges of the screen etc, but now I want to try and go a step up and cause ships to damage and rebound in the appropriate directions when colliding with one another. Actually detecting the collision is not too difficult but I'm struggling with what to do after that.
How can I work out from the ships Velocities, Mass and angle of direction what the effect on them should be?
Scanned copies of problem
Sorry for taking such a long time..
Though i completed these very early..
I could not upload these because i was busy in my work.
Re: 2D collision handling between two different moving objects
I see lot of views for this thread. Has any body observed my calculations. Give feed back.