-
Notifications
You must be signed in to change notification settings - Fork 0
Feature ‐ Camera blending by priority ‐ CineCam wiki
This guide applies to both 2D and 3D!
CineCam:
VirtualCam:
A CineCam can follow a VirtualCam or blend towards it, using the priority property of the VirtualCam.
2D
3D
The follow_mode property of the CineCam can be set to either OFF, PRIO, PRIO_ONESHOT, PRIO_BLEND, TARGET, TARGET_BLEND.
For this feature, TARGET and TARGET_BLEND are irrelevant.
The selected VirtualCam is the VirtualCam with the highest priority.
- OFF = The CineCam won't follow anything.
- PRIO = Will teleport the CineCam to the selected VirtualCam each frame, without any blending.
- PRIO_ONESHOT = Will blend the CineCam to the selected VirtualCam once.
The blend won't change, even if the VirtualCam moves during or after the blend. - PRIO_BLEND = Will constantly blend the CineCam to the selected VirtualCam.
3D ONLY!
If is_blend_rotation is set in blend_data, the blend will also rotate to match the selected VirtualCam.
The Z-Axis will be inverted, since the camera looking direction is the opposite.
2D ONLY!
If is_blend_rotation is set in blend_data, the Camera2D ignore_rotation must be set to false!
If the priority of any VirtualCam changes, either because the priority actually changes,
or because a VirtualCam was freed / instanced, the CineCam will instantly react on it, at given settings.
My Socials
GitHub | LinkedIn | lnk.bio
Copyright(c) 2014 - present Godot Engine contributors(see AUTHORS.md), Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.
Godot Repository