# Locking the rotation axis when using Physics

**URL:** <https://forum.babylonjs.com/t/locking-the-rotation-axis-when-using-physics/40270>\
**Category:** Questions\
**Created:** [April 27, 2023, 3:26am UTC](https://forum.babylonjs.com/t/locking-the-rotation-axis-when-using-physics/40270 "2023-04-27T03:26:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Raggar](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raggar/32/20672_2.png) [@Raggar](https://forum.babylonjs.com/u/Raggar)\
**Post date:** [April 27, 2023, 12:48pm UTC](https://forum.babylonjs.com/t/locking-the-rotation-axis-when-using-physics/40270/3 "2023-04-27T12:48:44Z")

</div>

Have a look at this thread: ["moveWithCollisions" with havoc? - #12 by aWeirdo](https://forum.babylonjs.com/t/movewithcollisions-with-havoc/40118/12)  
Setting some axis of the inertia to zero should be the same as locking an axis by multiplying the same axis by zero, as other physics engines do. At least I think so 😛

---

_[View the full topic](https://forum.babylonjs.com/t/locking-the-rotation-axis-when-using-physics/40270)._
