BabylonJS / havok

The Havok Physics plugin runtime files (wasm and js)
16 stars 4 forks source link

When doing an intersection query, update all the bodies that were added on that phase #1

Closed carolhmj closed 1 year ago

carolhmj commented 1 year ago

Example PG: https://playground.babylonjs.com/#PY59V9#1 Here you can see that, unless we explicitly call a step to execute (like in https://playground.babylonjs.com/#PY59V9#2), the raycast won't detect the bodies that were added on the same loop.