Version: 2017.3
public Vector3 point ;

描述

接触点。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnCollisionEnter(Collision other) { print("Points colliding: " + other.contacts.Length); print("First point that collided: " + other.contacts[0].point); } }