getForwardVector method

Vector3 getForwardVector()

Implementation

Vector3 getForwardVector() {
  object.getWorldDirection(targetPosition);
  targetPosition.y = 0;
  targetPosition.normalize();
  return targetPosition;
}