- #1
aircrack
- 1
- 0
Hello,
I am trying to simulate collisions between polygons with opengl.
The weight, velocity (as a 2d vector), the angular velocity and the collisionpoint of the colliding polygons are provided.
How can I calculate how the angular velocity and the velocity are changed?
I do know how i could calculate the new velocities in 1d using the momentum:
In a 2d decentralized collision, disregarding the angular velocity (e.g. using two circles), it would be almost the same, because you can split the velocities in vectors, but i am unsure how to calculate everything including the angular velocity.
Thank you for your help :)
Im sorry if my english is incomprehensible, I am german. ;)
I am trying to simulate collisions between polygons with opengl.
The weight, velocity (as a 2d vector), the angular velocity and the collisionpoint of the colliding polygons are provided.
How can I calculate how the angular velocity and the velocity are changed?
I do know how i could calculate the new velocities in 1d using the momentum:
In a 2d decentralized collision, disregarding the angular velocity (e.g. using two circles), it would be almost the same, because you can split the velocities in vectors, but i am unsure how to calculate everything including the angular velocity.
Thank you for your help :)
Im sorry if my english is incomprehensible, I am german. ;)