C4 Engine
C4 Engine API Documentation

Motor3D::GetDirectionZ

Defined in:  TSMotor3D.h
Returns the direction to which the z axis is transformed by a motor.
Prototype

Vector3D GetDirectionZ(voidconst;

Description
The GetDirectionZ function calculates the 3D vector that results from transforming the direction vector (0, 0, 1) with the motor for which it is called.
See Also

Motor3D::GetDirectionX

Motor3D::GetDirectionY

Motor3D::GetPosition

Motor3D::GetTransformMatrix

Motor3D::GetInverseTransformMatrix

Motor3D::GetTransformMatrices

Motor3D::SetTransformMatrix