Skip to content

格式

typescript
ContactPoint.separation

所属类: ContactPoint

描述

(只读)接触点处与碰撞体之间的距离。

参数

参数名类型描述

返回值

类型描述
number接触点与碰撞体的距离

代码示例