InterpolatedCamera
Inherits: Camera < Spatial < Node < Object
Category: Core
Brief Description
Camera which moves toward another node.
Member Variables
- bool enabled - If
true
and a target is set, the camera will move automatically.
- float speed - How quickly the camera moves toward its target. Higher values will result in tighter camera motion.
- NodePath target - The target’s NodePath.
Description
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.
Member Function Description
- void set_target ( Object target )
Sets the node to move toward and orient with.