My name is Ricky and I run a site called Race Optimal.
http://www.raceoptimal.com/about/physics
I'm working on converting the 2D physics model to 3D. I have an algorithm to calculate a continuous piecewise polynomial for the x, y, and z coordinates. As the z coordinate changes, more and less normal force is experienced depending on the acceleration relative to the z-axis. Typically this would be solved by calculating the radius of curvature. However, since the path is 3D, I'm not sure how to calculate curvature relative to the z axis. Any suggestions?