Jump to content

Transfer of Momentum Physics?


mrSully
 Share

Recommended Posts

I am working on bouncing one body into a set of others (similar to bowling), but where every collision is calculated individually between two objects.

 

How can I instantly stop the momentum of the colliding object and and transfer it to the object collided with?

 

my thoughts in psuedo:

 

collided.body.velocity.x = colliding.body.velocity.x;

collided.body.velocity.y = colliding.body.velocity.y;

 

If this would work, what would my condition in my update() function be to find the moment when the two collide.  Simple question, and I'm sure it is very easy, but I do not have access to a testing environment atm and am just looking for some guidance if anyone is familiar

 

Thanks in advance!

 

Sully

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...