- #1
Logan Blinco
Hello,
Im creating a physics simulator and I am struggling to expand my collisions from 2D to 3D. In 2D the velocity only changes parallel to the line of center so I presume this is the same for 3D.I can get a Cartesian equation of line but I am not sure how to get the velocity component relative to this line.
So my question is how can I create a relative axis which would let me use linear momentum conservation or more generically how to Calculate the final velocity of 3D sphere collisions.
Im creating a physics simulator and I am struggling to expand my collisions from 2D to 3D. In 2D the velocity only changes parallel to the line of center so I presume this is the same for 3D.I can get a Cartesian equation of line but I am not sure how to get the velocity component relative to this line.
So my question is how can I create a relative axis which would let me use linear momentum conservation or more generically how to Calculate the final velocity of 3D sphere collisions.