Vectors, Normals?

Blitz3D Forums/Blitz3D Beginners Area/Vectors, Normals?

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.

The term "vector" is used for something that defines an alternation of a state, like a curve on a street. The vector contains the relative angle of the curve.
The word "vector" is also used for adresses of system interrupts in computer operating systems: it will redirect the program counter to a subroutine (kind of Gosub on the machine level).
In the command "AlignToVector" the source entities vector is used to rotate the target entity. Basicly this is pitch, yaw and roll of the source entity.

The term "normals" represents the pitch,yaw,roll angles of a triangle in space. so, when you pick an entity, pickedNX() etc. will tell you the angle of the picked point. This may be useful for preventing sliding down slopes etc.