How to update the mesh position without moving it?

In this playground, I construct a mesh using curves. Notice the mesh isn’t created on the origin, but off to the side. What manipulations should I do to make mesh.position read (3, 0, 3) (where the object is roughly situated) rather than (0, 0, 0)?

https://playground.babylonjs.com/#T6IN6X#1056

move it in the opposite direction that number of units, then mesh.bakeCurrentTransformIntoVertices() and move it back?

2 Likes

That was it! Thanks!