Struct InterpolatedCamera

Camera which moves toward another node.

struct InterpolatedCamera ;

InterpolatedCamera is a Camera 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

NameTypeDescription
enabled[get, set] boolIf true, and a target is set, the camera will move automatically.
speed[get, set] doubleHow quickly the camera moves toward its target. Higher values will result in tighter camera motion.
target[get, set] NodePathThe target's NodePath.

Methods

NameDescription
getSpeed
getTargetPath
isInterpolationEnabled
setInterpolationEnabled
setSpeed
setTarget Sets the node to move toward and orient with.
setTargetPath