This should come in handy for some people who need to make racing tracks, rollercoasters or smooth camera movement between points. This code uses the DBPro 3D Maths commands to find the points along a catmull rom spline. The good thing about this spline is that it passes through ALL of the points, and you can link many of them up to create a long smooth curving line, due to the fact that the tangent at the end points are the same.
For technical info on catmull rom splines look here...
http://www.mvps.org/directx/articles/catmull
You can also use vector3 for 3D splines, they work in exactly the same way but it requires and outputs 3 coordinates.
Trying is the first step towards faliure.
Athelon XP 1600+/Radeon 9600 Pro/256 RAM
