- Home /
Large Colliders Hitting Terrain
Hey.
I have some very large colliders that move around the game world but when ever they hit land for some reason it causes huge FPS lag.
Why would this happen?
Cheers.
Is there any particular code you're running that might cause that?
Oh, so it will be a code issue will it? Well I have a basic movement code and some onTriggerEnter as well.
I'll start commenting out parts of the script to see what's causing it.
It's a conceivable bug though (if they didn't expect a collision to span far across the terrain), so maybe you should start by trying to reproduce the bug on a new trivial scene: then you've got the input to a bug report if it is still very slow.
I worked out what the issue is.
If the object is using the Buoyancy Toolkit and has large colliders on it as well as the one used by the toolkit and it hits land all hell breaks loose.
Anyone know why?
Your answer
![](https://koobas.hobune.stream/wayback/20220612164931im_/https://answers.unity.com/themes/thub/images/avi.jpg)