# Model penetration question

**URL:** <https://forum.babylonjs.com/t/model-penetration-question/30182>\
**Category:** Questions\
**Created:** [May 9, 2022, 6:38am UTC](https://forum.babylonjs.com/t/model-penetration-question/30182 "2022-05-09T06:38:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShareQiu1994](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/shareqiu1994/32/25102_2.png) [@ShareQiu1994](https://forum.babylonjs.com/u/ShareQiu1994)\
**Post date:** [May 9, 2022, 6:38am UTC](https://forum.babylonjs.com/t/model-penetration-question/30182/1 "2022-05-09T06:38:48Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/0/20e1f612875c336dd8a77186ecc100b7fb9ea7ad.jpeg)

---

<div class="post-metadata">

**Author:** ![br-matt](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/br-matt/32/22436_2.png) [@br-matt](https://forum.babylonjs.com/u/br-matt)\
**Post date:** [May 9, 2022, 12:21pm UTC](https://forum.babylonjs.com/t/model-penetration-question/30182/2 "2022-05-09T12:21:07Z")

</div>

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](https://doc.babylonjs.com/typedoc/classes/babylon.universalcamera#minz) or on whatever camera type you are using
