Collider

class in InfEngine.components.builtin

Inherits from: BuiltinComponent

Description

Base class for all collider components.

description

Properties

Name Type Description
center Any The center of the collider in local space.
is_trigger bool Whether the collider is a trigger (non-physical).
friction float The friction coefficient of the collider surface.
bounciness float The bounciness of the collider surface.

properties

Example

# TODO: Add example for Collider

example

See Also

see_also