• Get the world position of an object

    Parameters

    • obj: Object3D<Object3DEventMap>

      the object to get the world position from

    • vec: Vector3 = null

      a vector to store the result in. If not passed in a temporary vector will be used

    • updateParents: boolean = true

      if true the parents will be updated before getting the world position

    Returns Vector3

    the world position

Generated using TypeDoc