Quantcast
Channel: Answers for "Double collision with Character Controller?"
Browsing all 6 articles
Browse latest View live

Answer by Mike 3

Try DestroyImmediate instead of Destroy - it could be that your other object is hanging around for two fixedupdates before being deleted (which is feasible - you get 0 to lots of fixed updates every...

View Article



Answer by jc_lvngstn

Just disable the pellet collider when you eat it, boom no more collisions and it will eventually get destroyed. I don't have Unity if front of me, but it should be something along the lines of...

View Article

Answer by karl_

Instead of using OnControllerColliderHit try an OnTriggerEnter or OnCollisionEnter. This will ensure that your if statement is only called once.

View Article

Answer by Mike 3

Try DestroyImmediate instead of Destroy - it could be that your other object is hanging around for two fixedupdates before being deleted (which is feasible - you get 0 to lots of fixed updates every...

View Article

Answer by jc_lvngstn

Just disable the pellet collider when you eat it, boom no more collisions and it will eventually get destroyed. I don't have Unity if front of me, but it should be something along the lines of...

View Article


Answer by karl_

Instead of using OnControllerColliderHit try an OnTriggerEnter or OnCollisionEnter. This will ensure that your if statement is only called once.

View Article
Browsing all 6 articles
Browse latest View live




Latest Images