/// Get the penetration depth (negative value) of the ith contact point. public float GetDepth(int i) { if (0 <= i && i < contactCount) { return(CP.cpArbiterGetDepth(_handle, i)); } else { Debug.LogError("Index out of bounds"); return(0f); } }