getWorldPosition method

Vector3 getWorldPosition(
  1. Vector3 result
)

Computes the current position of this game entity in world space and stores the result in the given vector.

Implementation

Vector3 getWorldPosition(Vector3 result ) {
	return result.extractPositionFromMatrix( worldMatrix() );
}