Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Describes all objects that can be moved around, rotated and scaled in the scene

    interface Controls {
        getActiveCamera(): Camera;
        getCameras(): Camera[];
        getTransform(): TransformNode;
        shouldLockPointer(): boolean;
        update(deltaSeconds: number): Vector3;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods

    • Makes the controller listen to all its inputs and returns the displacement to apply to the player

      Parameters

      • deltaSeconds: number

        the time between 2 frames

      Returns Vector3