x


Can I detect collision without preventing movement?

I need to detect if the player is inside a cube without renderer to toggle a water effect, but how can I do it without this cube stopping the player from going down?

more ▼

asked Apr 09 '12 at 09:09 PM

Pandiux gravatar image

Pandiux
137 17 29 35

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

1 answer: sort voted first

In a collider definition, there is a check-box called "Is Trigger". If checked, then the collider can be used to trigger an indication that a collision has occurred without the object participating in any physics based movement preventions. I'd suggest studying on "Is Trigger".

more ▼

answered Apr 09 '12 at 11:58 PM

kolban gravatar image

kolban
1.8k 2 7

(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:

x1865
x1685
x300
x63

asked: Apr 09 '12 at 09:09 PM

Seen: 522 times

Last Updated: Apr 09 '12 at 11:58 PM