What is the difference between:
OnCollisionEnter vs OnControllerColliderHit
and what are their respective use example in a game?
Thanks
What is the difference between:
OnCollisionEnter vs OnControllerColliderHit
and what are their respective use example in a game?
Thanks
OnCollisionEnter detects when contact has occurred between any colliders. OnControllerColliderHit gives information specific to the CharacterController class - this is used for game characters which need plausible collision/contact with objects, but whose physical behaviour is not otherwise very realistic.