I’m struggling with physics and collision with imported glb from blender.
I think there is something I have missed. I try, has this example show https://playground.babylonjs.com/#3B3135#1, to make a ball bounce on the goal of the basket (mesh in my code) but it’s like the physics impostor isn’t even here.
I want to use the MeshImpostor type of impostor because, as it is a bended cylinder, I don’t want to redraw on using Babylon native mesh as I’m not sure it is possible.
I tried to put this impostor directly on the mesh in the physicsImpostor key and to wrap the mesh in a group and add the impostor on the group but none of those solutions worked.
I was thinking that maybe I forget to add something in Blender but, as I am a beginner in both 3D, Babylon and Blender I don’t know what it could be.
I uploaded an example of what I done here Babylon Template
I would have uploaded it in the playground but I don’t know how to import .glb files in it (I’m interested on how to do that if you know).
I want to precise that I imported my glb file in the babylon sandbox and it seemed ok to me.
To wrap up here is my precise question : How to use MeshImpostor with an imported Blender .glb ?