Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class FirstPersonController

    A generalized First Person Controller handling movement, rotation, and collisions.

    Hierarchy (View Summary)

    Index
    _collider?: BoundingSphere
    _options: Required<Omit<FirstPersonControllerOptions, "input" | "scene">> & {
        input: InputInterface;
        scene: Scene | undefined;
    }
    bobPhase: number = 0
    distanceMoved: number = 0
    enabled: boolean = true
    isActive: boolean = true
    isMoving: boolean = false
    target: CameraInterfaceData | Object3D | undefined = undefined

    The object this behavior is attached to. Set automatically.

    uuid: string = ...
    inspector?: Record<string, InspectorField>