# \[SOLVED\] Terrain generation | Falling through mesh

**URL:** <https://forum.playcanvas.com/t/solved-terrain-generation-falling-through-mesh/26697>\
**Category:** Help & Support\
**Tags:** shaders\
**Created:** [July 21, 2022, 4:39pm UTC](https://forum.playcanvas.com/t/solved-terrain-generation-falling-through-mesh/26697 "2022-07-21T16:39:30Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Leonidas](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/leonidas/32/6495_2.png) [@Leonidas](https://forum.playcanvas.com/u/Leonidas)\
**Post date:** [July 24, 2022, 7:43pm UTC](https://forum.playcanvas.com/t/solved-terrain-generation-falling-through-mesh/26697/13 "2022-07-24T19:43:29Z")

</div>

Hi @Newbie_Coder,

That’s quite an old problem with the Bullet version PlayCanvas is currently using.

Increasing subdivisions may help but ultimately it won’t fully fix it. There are 2-3 fixes that have worked for me in the past (either as a partial or full fix):

1. Use a sphere collider instead of capsule
2. Use a compound collider with multiple spheres to simulate a capsule
3. Upgrade to Ammo3, that may be simpler than it sounds, there is some discussion and a build on this closed PR on the official Ammo.js repo: [https://github.com/kripken/ammo.js/pull/366](https://github.com/kripken/ammo.js/pull/366)

Hope that helps!

---

_[View the full topic](https://forum.playcanvas.com/t/solved-terrain-generation-falling-through-mesh/26697)._
