dacha
    Preparing search index...

    Class CharacterController

    Kinematic character controller system with sweep/slide collision movement.

    The system expects actors to have CharacterBody, Transform, Collider, and a kinematic RigidBody. Put this system before PhysicsSystem in system configuration so movePosition() targets are consumed by physics in the same fixed step.

    Hierarchy (View Summary)

    Index
    systemName: string

    Unique name identifier for the system

    • Called with fixed timestep for physics calculations

      Returns void

    • Called when a scene becomes inactive, but still remains in memory

      Parameters

      Returns void

    • Called when a scene is loaded. Used to load required resources for the system such as images, fonts, etc.

      Parameters

      Returns Promise<void>

    • Called every frame with variable timestep

      Returns void