Hey there! I've made a few tree prefabs, and what I'd usually do for trees is just use a simple capsule collider, for the sake of performance. However, these particular trees have slightly more complex patterns at the base (which is the only place collision is really necessary), so I decided that I might be better off with a few capsule colliders to give a closer approximation. I don't want to use a mesh collider because I have a lot of trees in the scene, and I want to avoid the performance cap. So I created a few objects containing just a collider, and positioned them accordingly, then refreshed my terrain prototypes. The update worked, but only the central collider is actually working - the others are not causing collisions at all. I'm wondering if there is a fundamental limitation to having just one collider per tree, or am I doing something wrong creating my compound collider?
↧