@masatomakino/threejs-position-util
    Preparing search index...

    Function shiftMesh

    • Relocate mesh pivot point while maintaining visual position. Useful for meshes from ObjLoader where geometry origin is (0,0,0), making rotations and scaling work intuitively.

      Parameters

      • mesh: Mesh

        The mesh to reposition

      • pos: Vector3

        New center point coordinates

      Returns void