Testing Gravity

Hi folks, i m trying to simulate gravity for this sample, works for first boxes to stop falling over the ground, but how could make that the boxes fall over other boxes…

https://www.babylonjs-playground.com/#I1JFKG#17

Thx, since i meet babylon.js i loved javascript more than ever…

1 Like

Hey! and welcome :slight_smile:

What about just using the physic engines we support directly?
https://doc.babylonjs.com/how_to/using_the_physics_engine

Thanks, i’ll read more about physics engine.

2 Likes