# Attaching bounding box gizmo to mesh causes its scale to change

**URL:** <https://forum.babylonjs.com/t/attaching-bounding-box-gizmo-to-mesh-causes-its-scale-to-change/58595>\
**Category:** Bugs\
**Tags:** gizmo, boundingbox\
**Created:** [May 22, 2025, 12:13am UTC](https://forum.babylonjs.com/t/attaching-bounding-box-gizmo-to-mesh-causes-its-scale-to-change/58595 "2025-05-22T00:13:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![HiGreg](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@HiGreg](https://forum.babylonjs.com/u/HiGreg)\
**Post date:** [May 22, 2025, 2:21am UTC](https://forum.babylonjs.com/t/attaching-bounding-box-gizmo-to-mesh-causes-its-scale-to-change/58595/2 "2025-05-22T02:21:03Z")

</div>

[Here’s my post with additional information](https://forum.babylonjs.com/t/add-full-support-for-non-uniform-scaling-and-or-shear/56033/4) and references to other 3d systems with similar limitations related to non-uniform scaling.

> [@peabnuts123](#):
>
> But frankly, there shouldn’t be any reason it can’t work.

Initially I thought just as you did, but my research revealed a fundamental mathematical limitation that I _think_ applies to your situation, too.

I don’t think it is generically solvable because Babylon, like other engines, insists on decomposing matrix transformations into Scale, Rotation, and Translation. The fundamental limitation, if I recall correctly, is that a sequence of SRT transforms, as happens in a parent-child relationship, cannot be expressed as a single SRT tranform when the parent S is non-uniform and the child R is not a factor of 90 degrees.

This is from memory, based on what I discovered when I did a deep dive researching the post I linked.

---

_[View the full topic](https://forum.babylonjs.com/t/attaching-bounding-box-gizmo-to-mesh-causes-its-scale-to-change/58595)._
