SphereCollider

class in InfEngine.components.builtin

Inherits from: Collider

Description

A sphere-shaped collider primitive.

description

Properties

Name Type Description
radius float The radius of the sphere collider.

properties

Lifecycle Methods

Method Description
on_draw_gizmos_selected() → None Draw the collider wireframe when selected in the editor.

lifecycle_methods

Example

# TODO: Add example for SphereCollider

example

See Also

see_also