Collider¶
类位于 InfEngine.components.builtin
继承自: BuiltinComponent
描述¶
碰撞体基类。所有碰撞体的老祖宗。
description
属性¶
| 名称 | 类型 | 描述 |
|---|---|---|
| center | Any |
碰撞体在本地空间的中心偏移。 |
| is_trigger | bool |
是否为触发器模式。 |
| friction | float |
The friction coefficient of the collider surface. |
| bounciness | float |
The bounciness of the collider surface. |
properties
示例¶
example
另请参阅¶
see_also