Hello,
I’ve been using Havok without the BabylonJS integration and noticed that the “optional body to ignore” parameter in the raycast query is, ironically, ignored. I initially suspected it was an issue with my code but I no longer think so.
I’ve made a simple demo to show the issue: https://playground.babylonjs.com/#PY59V9#21. In the demo, two boxes are created and a ray is casted through them. The HP_World_CastRayWithCollector
call is meant to ignore box nº1, yet HP_QueryCollector_GetCastRayResult
consistently returns that as the hit point.
Best regards,
James
PS: I’ve also opened an issue on GitHub regarding this topic. Hopefully someone can help me figure this out!