Align an object to others?

Blitz3D Forums/Blitz3D Programming/Align an object to others?

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.

Two AlignToVector commands to (as you say) guarantee alignment in all directions. The numbers 1 and 3 on the end aren't the range/rate parameter, but the axis (of alignment) parameter:

1=X
2=Y
3=Z

You can add another parameter in the range 0.0 to 1.0 for a kindof "PercentOfAlignment".

Hope this helps.