|
I've been messing around with character controller and it's colliders The idea is to deform the collision on the character when the characters changes stance (i.e stand, crouch, Prone etc.) I've tried adding different colliders to the characters bones. but the character also makes use locomotion, so the rays casted from locomotion starts clashing with the colliders. I've also tried scripting to the character controller to change size when the character changes stance, but with no results. Any suggestion is appreciated. :)
(comments are locked)
|
|
I don't know if it will play well with locomotion or not, but I've tried it, and scripting the character controller collider DOES work... At least changing the height and center of the collider. I created a small example project, but can't upload it here, so if you need it send me your email using a private message or something. The code attached to my character controller: Thanks your answer, i've tried this now and it's works, but when ever i apply it my character ended up falling throw the floor. But I don't need this function any more as i started adding Collision boxes as Triggers instead(and shrinking the Character controller) which solved most of the problems i had with the Colliders. Thanks anyways.
Apr 23 '11 at 08:19 AM
Aslan
(comments are locked)
|
