OnCollision messages don't work with Character Controller?

I feel like I ought to know this by now, but I never had a need to deal with it, and I'm not finding anything about it while searching. I just want to use OnCollisionEnter, and have it react to a CharacterController. Is that not possible? All I've got moving in my scene is a Character Controller, so it's a waste to have to check junk in OnControllerColliderHit.

more ▼

asked Jul 15, 2010 at 06:38 PM

avatar image

18.7k 211 192 311

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

1 answer: sort voted first

It's not possible without adding a rigidbody onto your character controller, no. And then that's probably an even bigger waste

more ▼

answered Jul 15, 2010 at 06:51 PM

avatar image

Mike 3
33.7k 23 122 307

Don't like it. Thanks.

Jul 15, 2010 at 10:42 PM Jessy

why is adding a rigidbody a waste? How else can one detect collisions in the characters "view"? I added a box collider and a rigidbody to make it possible for the character to interact with the surounding objects that are near.

Oct 17, 2011 at 01:02 PM swisscoder
(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



Answers and Comments



asked: Jul 15, 2010 at 06:38 PM

Seen: 4281 times

Last Updated: Oct 17, 2011 at 01:02 PM