# Synchronizing the scaling of PhysicsShapes with a Mesh

**URL:** <https://forum.babylonjs.com/t/synchronizing-the-scaling-of-physicsshapes-with-a-mesh/53520>\
**Category:** Questions\
**Tags:** animation, mesh, havok, scaling, physicsshape\
**Created:** [September 17, 2024, 11:25pm UTC](https://forum.babylonjs.com/t/synchronizing-the-scaling-of-physicsshapes-with-a-mesh/53520 "2024-09-17T23:25:48Z")\
**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:** [September 18, 2024, 3:18am UTC](https://forum.babylonjs.com/t/synchronizing-the-scaling-of-physicsshapes-with-a-mesh/53520/2 "2024-09-18T03:18:03Z")

</div>

See the last section “if you scale the mesh”

> [@Using density and an Overview of physics properties](https://forum.babylonjs.com/t/using-density-and-an-overview-of-physics-properties/51729/1):
>
> If you scale the mesh, you’ll have to generate a new shape (and dispose the old one). Just generate the new shape and assign it to your existing body:
> 
> > mesh.physicsBody.shape = newShape

---

_[View the full topic](https://forum.babylonjs.com/t/synchronizing-the-scaling-of-physicsshapes-with-a-mesh/53520)._
