Havok Web: Speed-Dependent Premature Sphere Collision at 60 Hz。

Hi,

I found a possible premature sphere–sphere collision in Havok Web.

Playground: https://playground.babylonjs.com/#6OLMY6#4

The example uses two dynamic spheres, zero gravity, and a fixed 60 Hz physics step. One sphere travels 9° away from the direct line to the other. Babylon only draws the setup; the simulation calls the raw Havok WASM API. Please press Run and check the Console.

At 8 units/s, the target starts moving on step 5 (about 1.61 units/s), even though the measured minimum center distance is 0.0994 and geometric contact requires 0.0525. At 6 units/s, with everything else unchanged, the target stays still.

Is this expected behavior from predictive contact handling, or a bug? Is there a supported setting or workaround to prevent this early impulse without losing protection against tunnelling? If it is a known limitation, is a fix being tracked?

I’m taking a look

cc @eoin as it’s about Havok internals

Yeah, I think this is just an artifact of how we do continuous collisions. We do try to minimize these kind of artifacts, but there’s always a chance of these “ghost” collisions occurring, especially as the relative speeds get very high; not a lot you can do about this, apart from reducing the speeds or the timestep used to step the engine, I’m afraid.

Got it, and thank you :slight_smile: