forward property

Vector3 get forward

The world-space direction this node's local +Z axis points along (unit length), the forward axis lookAt aims.

Implementation

Vector3 get forward {
  final world = globalTransform.storage;
  return Vector3(world[8], world[9], world[10]).normalized();
}