Camera collision

I’m trying to make a camera not overlap with meshes. Here I reproduced what is happening https://www.babylonjs-playground.com/#4NHCRD#4 You can see that the small ball with an attached camera can see through the big ball on collide.

I’ve tried all tricks from here Camera Collisions | Babylon.js Documentation but no success :pensive:

If you disable backFaceCulling on the ball like on line 67 then you can’t see through it, if that’s what you’re after? :slight_smile:

2 Likes

Thanks!

1 Like