# Floating origin with Havok

**URL:** <https://forum.babylonjs.com/t/floating-origin-with-havok/40130>\
**Category:** Questions\
**Tags:** physics\
**Created:** [April 23, 2023, 4:42pm UTC](https://forum.babylonjs.com/t/floating-origin-with-havok/40130 "2023-04-23T16:42:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![CrashMaster](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/crashmaster/32/23662_2.png) [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Post date:** [April 25, 2023, 12:55pm UTC](https://forum.babylonjs.com/t/floating-origin-with-havok/40130/4 "2023-04-25T12:55:18Z")

</div>

Alright I modified the playground quite a bit and reused some findings from ["moveWithCollisions" with havoc? - #13 by Raggar](https://forum.babylonjs.com/t/movewithcollisions-with-havoc/40118/13)

It works a lot better but there is still a small issue: [Playground](https://playground.babylonjs.com/#Z8HTUN#104)  
I’m adding gravity in the linear velocity of the box and it makes it jitter for some reason.

For comparison when using Havok gravity: [Playground](https://playground.babylonjs.com/#Z8HTUN#105) the box behaves as expected.

Is there something about the way havok computes its own gravity, I guessed it would just be added to the linear velocity but it seems to be different 🤔

---

_[View the full topic](https://forum.babylonjs.com/t/floating-origin-with-havok/40130)._
