[SOLVED] How to change the origin of the local axis?

Hello,
I would like to change the origin of the local axis of a created cube (initially it’s at the center of the cube) to be at a bottom corner of the cube (or any other position). So that when I set the position of the cube to (0,0,0) the corner of the cube is at the origin of the world space.
My search always lead me to pivot points which only deals with rotations and scale.
Thanks.

https://doc.babylonjs.com/resources/baking_transformations
Someone will give you PG example, I hope …

1 Like

Hi @aekiro and welcome to the forum.

You may find this recent thread useful Is it possible to set a mesh object's (0,0) pivot position?

1 Like

Thank you all.