Version: 2021.2
public int contactCount ;

描述

获取此碰撞的接触点数。

一个碰撞可能涉及多个接触点。此属性可用于确定涉及的数量。使用 GetContactGetContacts 检索碰撞时,可以使用此值。