rhodonite
    Preparing search index...

    Interface CharacterControllerStrategy

    interface CharacterControllerStrategy {
        computedMovement: IVector3;
        enabled: boolean;
        groundContact: CharacterGroundContact | undefined;
        isGrounded: boolean;
        isRecovering: boolean;
        motionState: CharacterMotionState;
        destroy(): void;
        requestJump(): void;
        setDesiredHorizontalVelocity(velocity: IVector3): void;
        setup(
            entity: ISceneGraphEntity,
            shape: ShapeInstance,
            options?: CharacterControllerOptions,
        ): void;
        teleport(position: IVector3): void;
    }

    Implemented by

    Index
    computedMovement: IVector3
    enabled: boolean
    groundContact: CharacterGroundContact | undefined
    isGrounded: boolean
    isRecovering: boolean
    • Returns void

    • Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void