public characterController controller ;

설명

The controller that hit the collider.

using UnityEngine;

public class Example : MonoBehaviour { //Disable collision detection on CharacterControllers we touch. void OnControllerColliderHit(ControllerColliderHit hit) { hit.controller.detectCollisions = false; } }