- Home /
How to creat a forest where trees have a collider?
I want to make a foggy forest(camera far clipping : 50) where each tree have a collider ,but when I add too much trees (manually) my computer almost dies. The built game has 120 avarage fps but when I turns quickly it drops to 10 then back to 120. Any idea what should I do?
Comment
You could try creating a script that enables the colliders of the trees that are in close proximity to the player.
Also ensure all the moving objects with colliders also have a rigid body attached.
thanks guys with the capsule collider it's much more better :)
Best Answer
Answer by Lockstep · Jan 02, 2013 at 08:09 PM
Which collider do you use on your trees? If it is a mesh collider it is bound to impact performance. In that case try using a capsule collider instead.
Your answer
![](https://koobas.hobune.stream/wayback/20220613090249im_/https://answers.unity.com/themes/thub/images/avi.jpg)