Search the Community
Showing results for tags 'meshimpostor'.
-
https://www.babylonjs-playground.com/#SVHR8A I'm trying to create a simple (at least in my mind) scene where I have a ball rolling within the confines of a single mesh "room" I built in blender and exported as .gltf. However, no matter what I do, the ball seems to always go through the imported mesh and hit the ground below (which I kept to make sure the ball doesn't fall forever). Am I doing something wrong? In the playground there isn't a physics engine but locally I've tried cannon.js after reading that it supports MeshImpostors but I get the same result with or without a physics engine.
-
I am experimenting with loading in 3D models from another program and applying physics to them. I've been using MeshImpostor, but not getting the results I expect. For example: http://www.babylonjs.com/playground/#1DDYB0 I expect that the balls would stay inside of the "cup", but they go right through the sides. Plus, if you watch closely, occasionally, the balls will bounce off of nothing or fall through the middle. The model was created in Maya, exported to OBJ, and converted to babylon using the online converter. Is there a problem with how the model was prepared? Should I be doing something different? Thanks!