#### Archived

This topic is now archived and is closed to further replies.

# result of collision ?

This topic is 6172 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello, my question is the following . . I have 2 objects that collide (I can check that) The Objects have a movement vector (lenght = velocity) I can compute the real angle (not only the direction of the vector) if that matters somehow. How can i compute the resulting vectors of the two objects after the collision . They should have an influence on each other , so that a non moving object becomes an amount of movement from an object that moves against it. Thanks.

##### Share on other sites
Conservation of Momentum:

For each object, F = m*v f - m*v i, where v f and v i are final and initial velocities respectively. F 1 is equal to -F 2 (the changes in momentum for the two objects ar equal in magnitude, but opposite). Determining the effect of one particle on the other requires knowing how the force was transmitted through the particles'' centers - in straight lines or tangentially. The tangent is the natural attenuation factor for the transmitted velocity.

In English, calculate the intersection point of the bounding region of each object with the direction vector of the other. if the center of the bound object lies on the same line, then simply add the vector. If not, then calculate the vector from the point of intersection to the center and add that to your velocity vector.

• 9
• 23
• 10
• 19