Can you help me with that, and explain it?
Click on the Terrain and make sure that, in the Inspector, Terrain Collider->Create Tree Colliders box is unchecked.
To avoid going through trees, you need two things:
-
A collision, to notice that you are going through the tree.
-
You need to react in a sensible way to the collision to avoid going through the tree.
Have a look at the lerpz tutorial: