Tree Collider doesn't work

Hi! i have a little problem, when i want trees i go to terrain> Inspector> Terrain Collider> And click on Create Tree Collider. but i can still go through the trees… :frowning: PLEASE HELP ME!!

sorry for my english…

Did u make sure the collider's not set as trigger?

BlackWingsCorp: yes i am sure. alucardj: Thanks! :) it worked

1 Answer

1
  • Do your trees actually have colliders on them?
  • Are those tree colliders capsule colliders?

Drag a tree into empty scene. Check if tree has a collider or not.

Setting up Tree Collisions

If you’d like your trees to make use of colliders, it’s very easy. When you’ve imported your Tree asset file, all you need to do is instantiate it in the Scene View, add a Capsule Collider and tweak it, and make the GameObject into a new Prefab. Then when you’re adding trees to your Terrain, you add the tree Prefab with the Capsule Collider attached. You can only use Capsule Colliders when adding collisions with trees.

thanks! it really helped! :)