Author Topic: CharacterController collision after disable/enable property.  (Read 727 times)


  • Beta Group
  • Hero Member
  • *
  • Posts: 579
    • View Profile
    • Car and Traffic Playmaker assets
CharacterController collision after disable/enable property.
« on: September 16, 2014, 11:22:26 AM »

I'm having a little trouble with Charecter Controller enable/disable property.

- 3D environment.
- Capsule with CharController comp + simple move.
- Dropping a cube with rigidbody component on character.

Using CollisionEnter to detect collision with rigidbody gameObject.
It works all good the first time, then after enable/disable Character controller wont detect any collisions.
Any tip for this how to correctly do this? Or its a bug?

I'm doing this when character goes to ragdoll and back, also for getting in car.

Checked with CharacterCollisionHit event, but this one detects the ground and goes in loops..

An idea for getting around this, is to set the CharController position -600 on Y axis for that "off" time for example..

Thank you for reading, any help/tip please?

[Unity 4.3.4f1 + PM 1.7.7.f6 on a Mac]
« Last Edit: September 16, 2014, 11:25:56 AM by 600 »