Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkArbiter.GetDepth()

function GetDepth(i : int) : float

Parameters


iIndex of the requested contact point.

Returns

float - The pentration depth of the ith contact point.

Description

Get the penetration depth (negative value) of the ith contact point.