Enumeration of axes.
Enumeration of collider types.
Get the rigid body component to which the collider is bound, possibly null.
Gets or sets the collider is trigger, this will be always trigger if using builtin.
Gets or sets the collider is trigger, this will be always trigger if using builtin.
Gets or sets the physics material for this collider, which in Shared state will generate a new instance.
Gets or sets the physics material for this collider, which in Shared state will generate a new instance.
Gets the wrapper object, through which the lowLevel instance can be accessed.
Gets or sets the physical material for this collider.
Gets or sets the physical material for this collider.
Add a grouping value to fill in the group you want to join.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Add mask values to fill in groups that need to be checked.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Gets the group value.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Gets the mask value.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Unregisters callbacks associated with trigger or collision events that have been registered.
The event type, onTriggerEnter|onTriggerStay|onTriggerExit|onCollisionEnter|onCollisionStay|onCollisionExit;
The event callback, signature:(event?:ICollisionEvent|ITriggerEvent)=>void
.
The event callback target.
Registers callbacks associated with triggered or collision events.
The event type, onTriggerEnter|onTriggerStay|onTriggerExit|onCollisionEnter|onCollisionStay|onCollisionExit;
The event callback, signature:(event?:ICollisionEvent|ITriggerEvent)=>void
.
The event callback target.
Registers a callback associated with a trigger or collision event, which is automatically unregistered once executed.
The event type, onTriggerEnter|onTriggerStay|onTriggerExit|onCollisionEnter|onCollisionStay|onCollisionExit;
The event callback, signature:(event?:ICollisionEvent|ITriggerEvent)=>void
.
The event callback target.
Removes all registered events of the specified target or type.
The event type or target.
Subtract the grouping value to fill in the group to be removed.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Subtract the mask value to fill in the group that does not need to be checked.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Sets the group value.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Sets the mask value.
整数,范围为 2 的 0 次方 到 2 的 31 次方
Generated using TypeDoc
Simplex collider, support point, line, triangle, tetrahedron.