# Collision Shapes Don't Match the 3D Model

**URL:** <https://forum.babylonjs.com/t/collision-shapes-dont-match-the-3d-model/52425>\
**Category:** Questions\
**Created:** [July 30, 2024, 11:17am UTC](https://forum.babylonjs.com/t/collision-shapes-dont-match-the-3d-model/52425 "2024-07-30T11:17:25Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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:** [August 5, 2024, 10:19am UTC](https://forum.babylonjs.com/t/collision-shapes-dont-match-the-3d-model/52425/16 "2024-08-05T10:19:45Z")

</div>

disablePreStep?

> [@Moving meshes manually with physics enabled](https://forum.babylonjs.com/t/moving-meshes-manually-with-physics-enabled/51351):
>
> What do you think of this? Is there a better method? I move meshes manually all the time with physics enabled. The advice on the forums is consistent: disable disablePrestep on the physics body right before you want to change a transform on the transformNode. If it is a one time assignment, enable it again in the next frame or so (performance). Keeping track of which meshes need to re-disable PreStep after the current frame isn’t straightforward. How about something like this? const disab…

Be sure to note the first comment. Constantly resetting disablePreStep may not be necessary.

Edit: I know that changing shape.density requires a [subsequent reassignment of shape to body](https://forum.babylonjs.com/t/using-density-and-an-overview-of-physics-properties/51729), but not sure about shape.material. If friction or restitution seem not to have an effect in your code, try reassigning the shape to the body.

---

_[View the full topic](https://forum.babylonjs.com/t/collision-shapes-dont-match-the-3d-model/52425)._
