# Rotating physics on a wrecking ball

**URL:** <https://forum.babylonjs.com/t/rotating-physics-on-a-wrecking-ball/10874>\
**Category:** Questions\
**Created:** [May 15, 2020, 11:18am UTC](https://forum.babylonjs.com/t/rotating-physics-on-a-wrecking-ball/10874 "2020-05-15T11:18:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ququta](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ququta/32/8931_2.png) [@Ququta](https://forum.babylonjs.com/u/Ququta)\
**Post date:** [May 15, 2020, 11:18am UTC](https://forum.babylonjs.com/t/rotating-physics-on-a-wrecking-ball/10874/1 "2020-05-15T11:18:53Z")

</div>

Hello everyone,

I’m currently working on a racing game. At the moment I’m working on implementing obstacles and I’m stuck in a situation where my physics doesn’t seem to move along with the model. I’ve played around with different pivot point locations, but so far without success.

Does anyone know why the physics imposter doesn’t rotate along with the model?

I’ve reproduced the problem in the playground:  
[https://playground.babylonjs.com/#66PS52#57](https://playground.babylonjs.com/#66PS52#57)

GIF:  
https://gyazo.com/player/31a07bf8a5b7e957414878ffea8981e6

---

<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:** [May 15, 2020, 2:55pm UTC](https://forum.babylonjs.com/t/rotating-physics-on-a-wrecking-ball/10874/2 "2020-05-15T14:55:36Z")

</div>

pinging @RaananW

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [May 15, 2020, 7:07pm UTC](https://forum.babylonjs.com/t/rotating-physics-on-a-wrecking-ball/10874/3 "2020-05-15T19:07:37Z")

</div>

Hi,

I’m not sure what you ate trying to implement, so would be great if you cab described exactly what you expect the playground to do.  
Regarding your direct question, the reason it doesn’t rotate when you force a rotation every frame is that you use the euler rotation, which is disabled when using a quaternion. Try using the rotate function instead

---

<div class="post-metadata">

**Author:** ![Ququta](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ququta/32/8931_2.png) [@Ququta](https://forum.babylonjs.com/u/Ququta)\
**Post date:** [May 18, 2020, 12:37pm UTC](https://forum.babylonjs.com/t/rotating-physics-on-a-wrecking-ball/10874/4 "2020-05-18T12:37:27Z")

</div>

Hi @RaananW ,

My goal of the playground was to make the moving wrecking ball physics interact with the cube, which is exactly what happened using rotate.

So thank you! Using the rotate function solved the problem 🙂
