InterpolatedCamera

    Deprecated. Camera which moves toward another node.

    Deprecated (will be removed in Godot 4.0). InterpolatedCamera is a which smoothly moves to match a target node’s position and rotation.

    If it is not enabled or does not have a valid target set, InterpolatedCamera acts like a normal Camera.

    Properties

    ( Object target )

    Enumerations

    enum InterpolatedCameraProcessMode:

    • INTERPOLATED_CAMERA_PROCESS_PHYSICS = 0 —- The camera updates with the _physics_process callback.

    • enabled

    If true, and a target is set, the camera will move automatically.


    Default

    1

    Setter

    set_process_mode(value)

    get_process_mode()

    The camera’s process callback. See .


    How quickly the camera moves toward its target. Higher values will result in tighter camera motion.


    Default

    NodePath(“”)

    Setter

    set_target_path(value)

    Getter

    get_target_path()

    Method Descriptions

    • void set_target ( Object target )

    Sets the node to move toward and orient with.