Version: 2017.1
public GameObject gameObject ;

Description

Игровой объект, который был задет контроллером.

using UnityEngine;
using System.Collections;

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