Help Bouncing Balls inside an imaginary Ground

Hi All,

I am enabling physics and I want the ball to keep bouncing in an imaginary ground covered in all x,y,z axis. I am learning babylonjs and exploring.

Above is an example I am trying but doesn’t help. I have seen one example with SPS but that isn’t exactly my purpose since I want a continuous bounce. Any help experts ?.


Here is an SPS example. You cannot use a physics engine with SPS so has custom physics

@JohnK Thanks I wanted to use SPS but since I draw around 1000 to 2000 spheres worried about performance

Hello, just checking in, was your question answered? @Balaji_K

1 Like

@carolhmj Thanks have got the same working


Great! Can you share your solution with us so we can all learn? :smiley: