# applyImpulse() along a vector, glitchy simulation

**URL:** <https://blenderartists.org/t/applyimpulse-along-a-vector-glitchy-simulation/1378046>\
**Category:** Game Engine Support and Discussion\
**Tags:** physics, upbge, bge, game\
**Created:** [May 5, 2022, 12:50pm UTC](https://blenderartists.org/t/applyimpulse-along-a-vector-glitchy-simulation/1378046 "2022-05-05T12:50:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![weakjuggernaut](https://blenderartists.org/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@weakjuggernaut](https://blenderartists.org/u/weakjuggernaut)\
**Post date:** [May 5, 2022, 12:50pm UTC](https://blenderartists.org/t/applyimpulse-along-a-vector-glitchy-simulation/1378046/1 "2022-05-05T12:50:50Z")

</div>

Hello all,  
I want to apply impulse force along the direction shown in the picture (yellow arrow), which is a local Z for the object. I found the direction of the application through vector calculation and I am applying force by changing the magnitude of the vector. I am not able to get the results I predicted and they are not reproducible as well. When put a platform under the objects (second picture) the object goes through it. Please help me out. Correct me if I am doing it wrong. I have tried with apply force but it just seems to apply at the center of the object and does not rotate the object also.

 ![Screenshot 2022-05-05 144243](https://blenderartists.org/uploads/default/original/4X/f/0/4/f04b610a0b0ac8448ad24208cf769e814775137b.png)

Picture 2 - with the chute.

 ![image](https://blenderartists.org/uploads/default/original/4X/4/1/2/412a21c69db16ce594652c3740d11d820124cc9d.jpeg)

Blender file

[test4\_scale\_10x.blend](https://blenderartists.org/uploads/short-url/zkbxO7xWHvS6mInTmWlHsdZGACg.blend) (892.5 KB)
