- Home /
Answer by jjchoio · Nov 15, 2012 at 07:56 PM
hello, i had similar question! this helps. http://answers.unity3d.com/questions/13324/i-can-walk-through-trees.html
Answer by Azaroth · Nov 16, 2012 at 08:28 AM
Hello my friend, i also have thought that technique in you post andi will try it and tell you :)
Answer by Nomibuilder · Jan 12, 2016 at 08:57 AM
The "create tree colliders" option doesn't work quite like that. Instead, you may want to add a capsule-collider manually by following these steps:
Find the tree you want in the Project panel.
Drag it out as a prefab onto your map. (It doesn't matter where, just so you can see it)
Select the tree, and in the Components menu, under Physics, add a capsule collider.(Losing the prefab is OK.)
Set the radius of the collider to between 0.8 and 1. Make sure the height is about 20.
Make a new prefab and call it Palm(Collider) and drag your new tree into it.
Under terrain tree painter add the tree called Palm(Collider).
Place a few trees, and you should be ready to go!
Press play, and the trees should now have colliders. If you want more trees and terrain textures, there is a great collection available for download here. Good luck!
Original Answer: http://answers.unity3d.com/questions/13324/i-can-walk-through-trees.html
Your answer
Follow this Question
Related Questions
CollisionEnter not works on first hit But works on second hit 1 Answer
Only targeting the targets root of vector 3 and not colliding with its mesh 1 Answer
how to stop the player when gameover?? 1 Answer
How to make a 2D "trampoline"? 2 Answers
Can I make Ai using only a focus script and a bullet script? 1 Answer