文档

Unity Engine

Unity Engine

GetPoint(int)

Get the location of a particular contact point in this contact pair.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public Vector3 GetPoint(int i)

Parameters

Index of the contact point.

Returns

Type

Description

Vector3The location of a contact point.

Remarks

The returned value is in the world coodinates.