Hello
I created a sphere. I want to give the radius of this a value that corresponds to 50 meters in real life. How can I do that? Can you help me?
Create Sphere | Babylon.js Playground (babylonjs-playground.com)
Hello
I created a sphere. I want to give the radius of this a value that corresponds to 50 meters in real life. How can I do that? Can you help me?
Create Sphere | Babylon.js Playground (babylonjs-playground.com)
Babylon size units are relative. So you can choose any scale (without too small or too big values).
Making the sphere radius = 50 will work as 50 meters if all other sizes will be also relevant.
The only caveat is if the scene is or might be shown in XR. XR is meter based, so that if you walk / move one meter, then objects appear in your headset correspondingly correctly.
I recommend scaling everything that is practical to meters, just so no changes are required later.