Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink
Share
Go down
avatar
{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Posts : 51
Points : 1754
Rep : 3
Join date : 2014-01-02
Age : 19
View user profilehttp://radioactive-studios.blogspot.com

walking through trees.

on Wed Jan 15, 2014 1:50 pm
My terrain has a fair amount of trees and for some reason I am able to walk through them even though the tree collider check box is checked. Is there a step I missed or do I need to add a script to the trees. This is important as I need to be able to climb up them in my game. Thanks and sorry for being a noob! Smile
avatar
SUPER MODERATOR
SUPER MODERATOR
Posts : 279
Points : 2167
Rep : 58
Join date : 2013-12-16
Age : 17
Location : Boise Idaho United States
View user profile

Re: walking through trees.

on Thu Jan 16, 2014 5:51 pm
It's ok! It's something called a mesh collided, if you go into the prefab in the assets for the tree there should be a button called add component, then select physics, then mesh collider then redo the trees on the terrain. Then poof! You can no longer walk through them
avatar
{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Posts : 144
Points : 1913
Rep : 10
Join date : 2013-12-30
Location : Right behind you.
View user profile

Re: walking through trees.

on Sun Jan 19, 2014 10:00 pm
Do you know how to do that but with models?
avatar
Admin
Admin
Posts : 608
Points : 3195
Rep : 406
Join date : 2013-12-11
Age : 21
View user profilehttps://www.youtube.com/user/misterninjaboy

Re: walking through trees.

on Mon Jan 20, 2014 3:27 am
MusicKing7 wrote:Do you know how to do that but with models?

You click on the 3D model in the assets tab, and there should be an option in the inspector (usually to the left) that lets you enable mesh collider. Then hit apply.
avatar
{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Posts : 144
Points : 1913
Rep : 10
Join date : 2013-12-30
Location : Right behind you.
View user profile

Re: walking through trees.

on Mon Jan 20, 2014 6:45 am
There is no 3D model option in the assets tab.
avatar
Admin
Admin
Posts : 608
Points : 3195
Rep : 406
Join date : 2013-12-11
Age : 21
View user profilehttps://www.youtube.com/user/misterninjaboy

Re: walking through trees.

on Mon Jan 20, 2014 8:20 pm
MusicKing7 wrote:There is no 3D model option in the assets tab.
Its onot an option. You actually click on the prefab/ asset. Just like you'd click on it to drag into your scene.
avatar
{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Posts : 144
Points : 1913
Rep : 10
Join date : 2013-12-30
Location : Right behind you.
View user profile

Re: walking through trees.

on Tue Jan 21, 2014 7:04 am
It doesn't work because I need a mesh to go with it but I don't know what a mesh is :/
Back to top
Permissions in this forum:
You cannot reply to topics in this forum