Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPoint(int)

Get the location of a particular contact point in this contact pair.
Read time 1 minuteLast updated 4 days ago

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.