Return all results with physics v2 shape cast (shapeProximity)

Source: Babylon.js/packages/dev/core/src/Physics/v2/Plugins/havokPlugin.ts at master · BabylonJS/Babylon.js · GitHub

this._queryCollector = this._hknp.HP_QueryCollector_Create(1)[1];

If you pass a number higher than 1, I believe you can collect more than 1 hit.

Although I like the default value of 1, I’m unsure if there’s an easy way to pass in a different value. Perhaps you can create another QueryCollector with HP_QueryCollector_Create() and pass it into HP_World_ShapeProximityWithCollector().