Can bounding box work as a colliision system?

  1. here you are not using Gizmos but a helper mostly used with them so it is fine but it might have to many limitations for your case.
  2. you would need to rebuild what the function does internally, basically parenting all the element to a parent simple mesh used to “hijack” picking preventing expensive raycast on complex mesh. It helps a bit with moveWithCollision as you could also use it as the main collider for the other object.
  3. moveWithCollision relies on ellipsoid and ellipsoidOffset of the mesh to detect collision with the other meshes: Babylon.js docs.
1 Like