# Avoid camera collision to ground when using api

**URL:** <https://community.cesium.com/t/avoid-camera-collision-to-ground-when-using-api/10217>\
**Category:** CesiumJS\
**Created:** [July 13, 2020, 6:05pm UTC](https://community.cesium.com/t/avoid-camera-collision-to-ground-when-using-api/10217 "2020-07-13T18:05:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Hyper\_Sonic](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hyper_sonic/32/2255_2.png) [@Hyper\_Sonic](https://community.cesium.com/u/Hyper_Sonic)\
**Post date:** [July 13, 2020, 7:42pm UTC](https://community.cesium.com/t/avoid-camera-collision-to-ground-when-using-api/10217/2 "2020-07-13T19:42:09Z")

</div>

This might help:  
[Funny moment underground](http://community.cesium.com/t/funny-moment-underground/10007/10)  
Can do something like edist\<1 to keep a meter above ground.

---

_[View the full topic](https://community.cesium.com/t/avoid-camera-collision-to-ground-when-using-api/10217)._
