getWorldDirection method

Vector3 getWorldDirection(
  1. Vector3 target
)

Implementation

Vector3 getWorldDirection(Vector3 target) {
  updateWorldMatrix(true, false);

  var e = matrixWorld.elements;

  return target.set(e[8], e[9], e[10]).normalize();
}