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

2 Likes

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.

1 Like

The same issue here. Have you found the solution for making collision area bigger than a box mesh?
My attempt: https://playground.babylonjs.com/#6EU8HW#6
It’s impossible to do?