# HAVOK Physics problem - objects strange behavior

**URL:** <https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456>\
**Category:** Questions\
**Tags:** physics\
**Created:** [August 21, 2023, 9:52am UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456 "2023-08-21T09:52:21Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veljko](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/veljko/32/17323_2.png) [@Veljko](https://forum.babylonjs.com/u/Veljko)\
**Post date:** [August 21, 2023, 9:52am UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/1 "2023-08-21T09:52:21Z")

</div>

Objects have strange behavior which was not the case few weeks ago.

Here is an example in playground. The box when dropped have strange behavior while moving on the ground.

> **[Babylon.js Playground](https://playground.babylonjs.com/#TV4ELK%231)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

Also same problem on this example of Havok, look at the objects and how they behave.  
[https://viseni.com/havok/](https://viseni.com/havok/)

[https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/2/e2134d7fcca388447ef816db7c7680883deab4ad.mp4](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/2/e2134d7fcca388447ef816db7c7680883deab4ad.mp4)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [August 21, 2023, 10:33am UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/2 "2023-08-21T10:33:32Z")

</div>

cc @eoin, in case it would be a regression in the wasm file?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [August 21, 2023, 3:00pm UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/3 "2023-08-21T15:00:58Z")

</div>

Oh yup it looks highly suspicious ☹ @eoin please let us know if we need to deploy something back before @carolhmj or @Cedric come back from vacation.

---

<div class="post-metadata">

**Author:** ![DavidL](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidl/32/34549_2.png) [@DavidL](https://forum.babylonjs.com/u/DavidL)\
**Post date:** [August 21, 2023, 9:33pm UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/4 "2023-08-21T21:33:18Z")

</div>

I have the same problem. Jumpy physics with 60fps. Worked fine a couple weeks ago and I haven’t really changed anything. Notice in my PG the sphere drop physics lag and it’s noticeable on the boxes as well.

> **[Babylon.js Playground](https://playground.babylonjs.com/#DXVAP5)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

Oh and I posted a question 23 days ago using this same PG example and it was working fine then, just went back to try and it’s broken too…

> [@autoRotate Camera](https://forum.babylonjs.com/t/autorotate-camera/42795):
>
> Problem: If I click the buttons, or anywhere, auto rotation stops. I can set this: camera.autoRotationBehavior.zoomStopsAnimation = false; which allows the camera to zoom and the auto rotate camera keeps going… …but I can’t find anything in the API docs about doing the same for other interactions. I would like to click a button on the GUI to drop a sphere without disrupting the camera’s autoRotationBehavior, while keeping the built-in ArcRotateCamera controls to adjust the camera or zoom i…

---

<div class="post-metadata">

**Author:** ![DavidL](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidl/32/34549_2.png) [@DavidL](https://forum.babylonjs.com/u/DavidL)\
**Post date:** [August 22, 2023, 2:40am UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/5 "2023-08-22T02:40:00Z")

</div>

It’s the Ground!!!

I tilted the rotating plane and made it bigger for the sphere’s to roll on that instead of the ground and everything’s fine till they roll off and hit the ground!

> **[Babylon.js Playground](https://playground.babylonjs.com/#UIX0YP%231)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Veljko](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/veljko/32/17323_2.png) [@Veljko](https://forum.babylonjs.com/u/Veljko)\
**Post date:** [August 22, 2023, 6:57am UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/6 "2023-08-22T06:57:41Z")

</div>

@DavidL I used your playground, just modified it a little bit, to present the problem. You are right, in this example ground is the problem. If physics applied with PhysicsAggregate it has this strange behavior, if it is applied with PhysicsBody, then it work fine…  
Here is playground where physics is applied on ground with PhysicsBody, everything works fine:

> **[Babylon.js Playground](https://playground.babylonjs.com/#TV4ELK%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![DavidL](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidl/32/34549_2.png) [@DavidL](https://forum.babylonjs.com/u/DavidL)\
**Post date:** [August 22, 2023, 7:41am UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/7 "2023-08-22T07:41:36Z")

</div>

I can confirm, PhysicsAggregate weirdness, no idea what changed.

But you got it, setting the physics manually fixed it, thx!

Havok Testing Grounds v0.02

> **[Babylon.js Playground](https://playground.babylonjs.com/#5DPW1Q%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

Microsoft Clipchamp video

> **[Untitled video - Create and share your videos with Clipchamp](https://clipchamp.com/watch/l2qrF51xs9A)**
>
> Watch videos made with Clipchamp, the best video maker for everyone.

---

<div class="post-metadata">

**Author:** ![eoin](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@eoin](https://forum.babylonjs.com/u/eoin)\
**Post date:** [August 22, 2023, 2:07pm UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/8 "2023-08-22T14:07:17Z")

</div>

Pretty sure I know what this is; we made a change here to fix the issue described in here [How To Preventing Character Bounce on Flat Terrain?](https://forum.babylonjs.com/t/how-to-preventing-character-bounce-on-flat-terrain/42330), but I’ve probably made some of the settings much too aggressive. We’ll need to dial them down and push out a new WASM.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [August 22, 2023, 5:11pm UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/9 "2023-08-22T17:11:06Z")

</div>

Glad you know what it is @eoin 🙂 Let me know if I can be of any help

---

<div class="post-metadata">

**Author:** ![DavidL](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidl/32/34549_2.png) [@DavidL](https://forum.babylonjs.com/u/DavidL)\
**Post date:** [August 22, 2023, 8:55pm UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/10 "2023-08-22T20:55:44Z")

</div>

@eoin Eagerly awaiting those Havok Player Controls! I had a secret suspicion you guys were breaking stuff behind the scenes, Lol. If you had to guess, unofficially, when could one expect that stage of development to be complete and ready for us to play with? Days, Weeks, Months…?

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [August 28, 2023, 2:06pm UTC](https://forum.babylonjs.com/t/havok-physics-problem-objects-strange-behavior/43456/11 "2023-08-28T14:06:55Z")

</div>

It’s on a Months scale, it’s something we want to have at least for Babylon 7.0 release. 😃
