# How to set pivot and center at the bottom of the box mesh?

**URL:** <https://forum.babylonjs.com/t/how-to-set-pivot-and-center-at-the-bottom-of-the-box-mesh/22064>\
**Category:** Questions\
**Tags:** documentation, tutorial\
**Created:** [July 1, 2021, 6:11pm UTC](https://forum.babylonjs.com/t/how-to-set-pivot-and-center-at-the-bottom-of-the-box-mesh/22064 "2021-07-01T18:11:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DWork](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@DWork](https://forum.babylonjs.com/u/DWork)\
**Post date:** [July 1, 2021, 6:11pm UTC](https://forum.babylonjs.com/t/how-to-set-pivot-and-center-at-the-bottom-of-the-box-mesh/22064/1 "2021-07-01T18:11:05Z")

</div>

I created a box and put model inside, how to set pivot and center at the bottom of the box mesh when use gizmos will attach to the bottom center also?  
 ![20210702020055](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/5/e57ae2ba769115e9752ca5233ed207b5c5681592.png)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [July 1, 2021, 7:52pm UTC](https://forum.babylonjs.com/t/how-to-set-pivot-and-center-at-the-bottom-of-the-box-mesh/22064/2 "2021-07-01T19:52:47Z")

</div>

you kind of have several ways in general:

Either you offset the data in the model at creation time in your art tool  
Or you add a parent node allowing you to offset the children  
And finally you could rely on Babylon.js Pivots: [Parents and Pivots | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/mesh/transforms/parent_pivot)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [July 1, 2021, 7:53pm UTC](https://forum.babylonjs.com/t/how-to-set-pivot-and-center-at-the-bottom-of-the-box-mesh/22064/3 "2021-07-01T19:53:06Z")

</div>

By the way, welcome to the forum !!!
