- Joined
- Feb 7, 2005
- Messages
- 409
so first off, I don't know anything about physics, I have tried many times to google it, to teach my self, to ask around etc.
As far as I know, and have been told, this is a very basic and simple equation, but no one has told me wtf this "basic and simple" equation is.
I really, really, just need the function. I don't need to given links to sites, or told that I should just research it etc, just need the function. If you don't feel like providing it, please don't bother to post.
Given:
soo basically, I have an object moving at 5cm per 0.05 sec, heading in a direction of 38 degrees on a two dimensional plane (both objects have a mass of 1 for arguments sake if that helps). Said object collides with another object that is travelling in the direction of 112 degrees with a speed of 8cm per 0.05sec.
I need a function that will return the new angle and speed of whichever object I choose after collision. Preferably this function could be used to determine collision between one moving and one immovable object as well etc. Pretend that there is no outside forces acting upon them except for this simple collision of force, as it is within the game world.
As far as I know, and have been told, this is a very basic and simple equation, but no one has told me wtf this "basic and simple" equation is.
I really, really, just need the function. I don't need to given links to sites, or told that I should just research it etc, just need the function. If you don't feel like providing it, please don't bother to post.
Given:
soo basically, I have an object moving at 5cm per 0.05 sec, heading in a direction of 38 degrees on a two dimensional plane (both objects have a mass of 1 for arguments sake if that helps). Said object collides with another object that is travelling in the direction of 112 degrees with a speed of 8cm per 0.05sec.
I need a function that will return the new angle and speed of whichever object I choose after collision. Preferably this function could be used to determine collision between one moving and one immovable object as well etc. Pretend that there is no outside forces acting upon them except for this simple collision of force, as it is within the game world.