- Home /
Character doesn't collide with trees in terrain
I've making a terrain and placed some trees. When I placed the First-Person character and play the "game mode", the model is go pass through the trees. I've check the "Collide with Trees" in terrain property. Can anybody help?
Answer by Seizure · Sep 13, 2013 at 01:45 PM
Try changing your collider type on the character model. Im pretty sure only one works with trees (I forget whether it is Box or Cylinder Collider)
Answer by Ashutosh8126 · Sep 13, 2013 at 01:57 PM
Do your Trees have Colliders?? if yes is the Trigger on them Unchecked.. Check the same for the Character
Answer by WILEz1975 · Sep 25, 2020 at 12:48 PM
If they are speed trees you have to enable colliders in the prefab. It does not work with normal collisions set on terrain setting.
Answer by KreyZgr · Sep 25, 2020 at 02:15 PM
I had the same problem once and i figured out that it was because i used Rigidbody and Boxcollider instead of Rigdibody 2d and Boxcollider 2d. If your game is 3d use the normal Rigidbody on the player and any normal collider on both player and tree, and if your game is in 2d use the 2d Rigidbody on the player and any 2d collider on both player and tree.
Your answer
Follow this Question
Related Questions
Stop going through terrain walls 0 Answers
Terrain, Player falls through.... but only some parts. 0 Answers
My character jumps occationally when against a wall? 2 Answers
I just made my animation loop, but now my character walks through all colliders? 2 Answers
how i can combinemultiple mesh colliderrs in to 1 big mesh 0 Answers