TFormVector
Transforms a vector between spaces.
TFormVector ( x#,y#,z#,source_entity,dest_entity )
Parameters
- x#
- the direction's x part.
- y#
- its y part.
- z#
- its z part.
- source_entity
- the entity the direction is measured from, or 0 for the world.
- dest_entity
- the entity to measure it from instead, or 0 for the world.
Description
Works out a direction as seen from another entity: like TFormPoint, but for a direction, so position doesn't count, only turning and scaling. For example, TFormVector 0, 0, 1, ship, 0 gives the way a ship is facing, in world terms.
