Yaridovich
- 5
- 0
I have been working on making a 2-dimensional physics simulation on my computer and am having a bit of trouble with collisions. I know that:
-horizontal momentum is conserved
-vertical momentum is conserved
-kinetic energy (both rotation and translational) is conserved (assuming elastic collision)
-angular momentum is conserved
I have also created another equation that determines the angle at which the objects are deflected. That leaves me with 5 equations, but I need to know:
-horizontal velocity after collision (for both objects)
-vertical velocity after collision (for both)
-angular velocity (for both), which leaves me with 6 unknowns.
How else can I relate these variables so that I can solve for them explicitly?
-horizontal momentum is conserved
-vertical momentum is conserved
-kinetic energy (both rotation and translational) is conserved (assuming elastic collision)
-angular momentum is conserved
I have also created another equation that determines the angle at which the objects are deflected. That leaves me with 5 equations, but I need to know:
-horizontal velocity after collision (for both objects)
-vertical velocity after collision (for both)
-angular velocity (for both), which leaves me with 6 unknowns.
How else can I relate these variables so that I can solve for them explicitly?