Hi everyone,
Just an FYI, see here: https://playground.babylonjs.com/#E5URLZ#4
Logs “target1” 3 times; whereas it should only be logged once.
Fix by undefining body yourself. Come to think of it: checking for PhysicsRaycastResult.isHit should also work (shouldnt it?)
Regards
Joe