Model penetration question

hello all:
I’m Babylon JS beginners, I’m using Babylon A problem was found during the rendering of JS model.
When the camera is pulled close, the model will penetrate.
How to avoid this situation ? Thanks.
https://playground.babylonjs.com/#Z6SWJU#5

Hi @ShareQiu1994 and welcome to the forums ! You just need to set the minZ on your camera to avoid that.

You can find it documented here UniversalCamera | Babylon.js Documentation or on whatever camera type you are using

2 Likes