x


character is not passing throug the box

animated character when having collision with the box the animation character is not passing through the box

i have applied collider and rigidbody to the character and box collider to box and i user collosion on enter

when character hits the box collosion is happening and message is printing but character is not passing through the box

it is staying there itself when i apply is trigger character is passing but no collosion is happening

more ▼

asked Feb 24 '11 at 11:12 PM

robert 4 gravatar image

robert 4
396 13 16 27

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

1 answer: sort voted first

If you're colliding with the object, you won't pass through it. What you should probably use is OnTriggerEnter, with a trigger.

more ▼

answered Feb 24 '11 at 11:41 PM

Alec Slayden gravatar image

Alec Slayden
1.2k 1 4 16

great answer that worked

Feb 24 '11 at 11:47 PM robert 4
(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:

x2584
x59

asked: Feb 24 '11 at 11:12 PM

Seen: 321 times

Last Updated: Feb 24 '11 at 11:12 PM