AlignToVector changes?

Blitz3D Forums/Blitz3D Beginners Area/AlignToVector changes?

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.

As stated in the online manual, the correct syntax is:
AlignToVector entity,vector_x#,vector_y#,vector_z#,axis[,rate#]

So the optional rate should work. What BLitz3D version have yu installed? Make sure to update your Blitz after installation. You may also download the last couple of releases, so if it doesn't work with Version 1.99 then you may try it with version 1.98.

BTW I see you've got some weird brackets on your line:
AlignToVector(player),playervectorx#,playervectory#,playervectorz#,2,0.25

I guess this should be
AlignToVector player,playervectorx#,playervectory#,playervectorz#,2,0.25

Not sure if this matters at all.

I did however run this line in BLitz3D 1.98:
AlignToVector cam, x,y,z, 2, 0.25
and it worked with no errors.