Hi everyone,
(here a playground for the example)
I was wondering why my physicsViewer isn’t working when i use this line :
sphere.physicsImpostor = new BABYLON.PhysicsImpostor(sphere, BABYLON.PhysicsImpostor.SphereImpostor, { mass: 0 }, scene);
having this result :
but when i use this :
sphere.physicsImpostor = new BABYLON.PhysicsImpostor(sphere, BABYLON.PhysicsImpostor.MeshImpostor, { mass: 0 }, scene);
I have this result :
I’m sure it’s something really stupid, but i didn’t figure out why .
Thanks everyone !