Version: 2017.1
public GameObject gameObject ;

설명

The game object that was hit by the controller.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnControllerColliderHit(ControllerColliderHit hit) { hit.gameObject.transform.position = Vector3.zero; } }