getSideVector method

Vector3 getSideVector()

Implementation

Vector3 getSideVector() {
  object.getWorldDirection( targetPosition );
  targetPosition.y = 0;
  targetPosition.normalize();
  targetPosition.cross( object.up );
  return targetPosition;
}