# BoundingBox does not update after transforming mesh

**URL:** <https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360>\
**Category:** Questions\
**Created:** [February 4, 2022, 9:56am UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360 "2022-02-04T09:56:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Regit](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@Regit](https://forum.babylonjs.com/u/Regit)\
**Post date:** [February 4, 2022, 9:56am UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/1 "2022-02-04T09:56:33Z")

</div>

Hey,

need help with why the bounding box info of a mesh that I scaled (but also when moved) does not change/update.  
I just need the first vector of boundingBox.

> **[Babylon.js Playground](https://playground.babylonjs.com/#02I7MA%231)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 4, 2022, 12:03pm UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/2 "2022-02-04T12:03:54Z")

</div>

Hi!  
It works in 4.2.1 so I suggest you to report this as a bug.

R. 🖖

---

<div class="post-metadata">

**Author:** ![Regit](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@Regit](https://forum.babylonjs.com/u/Regit)\
**Post date:** [February 4, 2022, 12:12pm UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/3 "2022-02-04T12:12:20Z")

</div>

It doesn’t work for me in 4.2.1 either? 😮

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 4, 2022, 12:29pm UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/4 "2022-02-04T12:29:07Z")

</div>

This is spooky 😃 👻  
Give me a minute, it seems to be browser or platform specific, will do a few tests…

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 4, 2022, 1:11pm UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/5 "2022-02-04T13:11:03Z")

</div>

@Regit I overlooked it sorry 😃 My bad…

The world vectors are updating, but the locals are not. I believe, by scaling the mesh the boundigBox should scale as well, however if you call `boundingInfo.scale(number)` it updates.

> **[Babylon.js Playground](https://playground.babylonjs.com/#02I7MA%238)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

@sebavan Can you confirm whether it should automatically update the local vectors when scaling or not? Thanks!

---

<div class="post-metadata">

**Author:** ![Regit](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@Regit](https://forum.babylonjs.com/u/Regit)\
**Post date:** [February 8, 2022, 10:27am UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/6 "2022-02-08T10:27:27Z")

</div>

Let me ping him again @sebavan  
This seems like a bug to me

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 8, 2022, 6:22pm UTC](https://forum.babylonjs.com/t/boundingbox-does-not-update-after-transforming-mesh/27360/7 "2022-02-08T18:22:46Z")

</div>

It should NOT. The local vectors are, well, locals 😉 Which mean they are BEFORE the world transform. They only change if you change the inner geometry.

What you are looking for is vectorsWorld:  
[bounding info not updating | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#02I7MA#9)
