- Home /
how can i make an object(tree,stone etc)solid that the character can't pass through that?
i am working in terrain when i add trees to my terrain and click play my character can pass through that trees,but i want to make them solid ,hope i'll get help as i am very very new to unity.Thanks
Answer by haim96 · Mar 12, 2014 at 12:07 PM
you should add a collider to each object you want the player to collid with and a rigidbody to the player
http://unity3d.com/learn/tutorials/modules/beginner/physics/colliders
for trees there is a V somewhere that you can mark and the tree is created with a collider.
http://docs.unity3d.com/Documentation/Components/terrain-Trees.html
look for "$$anonymous$$aking your Trees Collide."
Your answer
Follow this Question
Related Questions
How to add mesh collider into terrain-trees? 1 Answer
Tree Creator Problems 1 Answer
ANSWERED - Pure Virtual Function crash. 0 Answers