AlignToVector

BlitzMax Modules Forums/MiniB3D/AlignToVector

I just did a small test with some terrain I am working on. The Y axis worked when I got rid of the Abs().

For smooth angular interpolation, you have to use quaternions and perform a slerp routine.