I thought that I had a way to do collisions in 3D, but it doesn't seem to work. No conservation of momentum whatsoever. To help explain my code, here's a brief explanation of what I've done:

I figured out the normal x, y, and z components. I split the 3-D collision into 3 two dimensional collisions(xy, xz, yz). Then I added the resulting velocities of these collisions.

The first mistake that I thought that I made was that I was still using the 3-dimensional normal in my two dimensional equations, but when I tried using three normals seperately(for each plane) I still got the same results.

Any help is greatly appreciated. Thanks.

I figured out the normal x, y, and z components. I split the 3-D collision into 3 two dimensional collisions(xy, xz, yz). Then I added the resulting velocities of these collisions.

The first mistake that I thought that I made was that I was still using the 3-dimensional normal in my two dimensional equations, but when I tried using three normals seperately(for each plane) I still got the same results.

Any help is greatly appreciated. Thanks.

## Comment