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

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » HELP » Help (General) » walking through trees.

walking through trees.

View previous topic View next topic Go down  Message [Page 1 of 1]

1 walking through trees. on Wed Jan 15, 2014 1:50 pm

(swag)quickscoper


{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
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

View user profile http://radioactive-studios.blogspot.com

2 Re: walking through trees. on Thu Jan 16, 2014 5:51 pm

BryceCain25


SUPER MODERATOR
SUPER MODERATOR
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

View user profile

3 Re: walking through trees. on Sun Jan 19, 2014 10:00 pm

MusicKing7


{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
Do you know how to do that but with models?

View user profile

4 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.

View user profile http://www.youtube.com/user/misterninjaboy

5 Re: walking through trees. on Mon Jan 20, 2014 6:45 am

MusicKing7


{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
There is no 3D model option in the assets tab.

View user profile

6 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.

View user profile http://www.youtube.com/user/misterninjaboy

7 Re: walking through trees. on Tue Jan 21, 2014 7:04 am

MusicKing7


{SUPER MEMBER}-LV.4
{SUPER MEMBER}-LV.4
It doesn't work because I need a mesh to go with it but I don't know what a mesh is :/

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum