AlignToVector Question

Blitz3D Forums/Blitz3D Beginners Area/AlignToVector Question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think you can do it like so ...

tformnormal 1,0,0,Target, 0
aligntovector Source, tformedx(), tformedy(), tformedz(), 1, Rate#

tformnormal 0,1,0,Target, 0
aligntovector Source, tformedx(), tformedy(), tformedz(), 2, Rate#

tformnormal 0,0,1,Target, 0
aligntovector Source, tformedx(), tformedy(), tformedz(), 3, Rate#


Not sure if that works as haven't tested but you may get away with aligning on the x and z axis only.

Stevie