moveWithCollisions not working with setBoundingInfo

Hi guys, I am trying to play around with the built-in collision system. I tried to make the bounding info of a mesh bigger but moveWithCollisions does not collide with the updated bounding box. Anything I’m missing out?

Here’s my PG:
https://www.babylonjs-playground.com/#5CJG06

1 Like

Hi nayrx
You need refresh BoundingInfo
https://www.babylonjs-playground.com/#5CJG06#1

Hi jas0n, refreshing the BoundingInfo makes my bounding box smaller again. I want the bounding box to be double the size of my box mesh.