Skip to content

Feature ‐ Camera blending by priority ‐ CineCam wiki

Lukas Schmidt edited this page May 28, 2024 · 2 revisions

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
prio_blend2D
3D
prio_blend3D

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.