x


!HELP! how to do so you can't go through trees

Can you help me with that, and explain it?

more ▼

asked Apr 19 '12 at 06:59 AM

flapsion gravatar image

flapsion
0 1 1 1

Define "trees". Do they have colliders? Meshes? Are they billboards? Terrain things? When your question is shorter than the title, and doesn't even explain the problem or the situation, it's very difficult to give a sensible answer.

Apr 19 '12 at 07:00 AM syclamoth

It is terrain things.

Apr 19 '12 at 07:06 AM flapsion

Do you have it set to generate tree colliders?

Apr 19 '12 at 07:14 AM syclamoth
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Click on the Terrain and make sure that, in the Inspector, Terrain Collider->Create Tree Colliders box is unchecked.

more ▼

answered Apr 19 '12 at 10:10 AM

BiG gravatar image

BiG
4.7k 4 13 49

(comments are locked)
10|3000 characters needed characters left

To avoid going through trees, you need two things:

  1. A collision, to notice that you are going through the tree.

  2. You need to react in a sensible way to the collision to avoid going through the tree.

Have a look at the lerpz tutorial: http://unity3d.com/support/resources/tutorials/3d-platform-game

more ▼

answered Apr 19 '12 at 07:13 AM

senad gravatar image

senad
641 3 5

I'll take a look thank you. :-)

Apr 19 '12 at 07:20 AM flapsion
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x140
x61
x11
x1

asked: Apr 19 '12 at 06:59 AM

Seen: 828 times

Last Updated: Apr 19 '12 at 10:10 AM