Is it possible to make mash collision physics calculation only around some radius around mesh?
For example If we have ball with radius 1 unit and some big mesh with 1 milion vertices.
I would like that mesh collision will calculate only collision around radius 5 unit around current ball position. Object with mesh-collision will be rotate at run-time (So if we don't have static-collider object_with_mesh_impostor/collider)
Is possible to add this functions? Can be this funcions
Ok. regarding your question you can still think about using mesh intersections and turn on impostors only when there is a mesh intersection (which is done at bounding box level):
For isntance use actions with BABYLON.ActionManager.OnIntersectionEnterTrigger to add impostor and use BABYLON.ActionManager.OnIntersectionExitTrigger to remove it