public Vector3 point ;

Descripción

The impact point in world space.

using UnityEngine;

public class Example : MonoBehaviour { void OnControllerColliderHit(ControllerColliderHit hit) { // print the impact point Debug.Log("I impacted at: " + hit.point); } }