When loading a glb file with the new 4.x alpha version, the physics imposter seems to not get saved correctly:
To reproduce open this:
Open the debug tools, navigate through the nodes tree to the mesh and open it’s physics section. An undefined/nullpointer error will be thrown:
This only happens when using a glb or gltf file. Obj files work fine.
I suspect that this is the reason the collision detection is not working reliably for a more complex model in my project if I save it as glb. If I, however, save it as obj. everything works fine. Sadly I couldn’t reproduce the collision detection bug with this simple file.
EDIT: This example also has a collision detection bug. In around 1 of 10 times the sphere slips through the heart.