Camera Triggers

Changes the current Camera Mode to a CameraSettingsResource.

Properties

  • Transition Time - How long to transition from the previous camera settings. Leave this at 0 to perform an instant camera cut.

  • Deactivation Transition Time - How long transition should take when Deactivate() is called. Leave this at -1 to use the same settings as Transition Time.

  • Transition Type - Changes how the transition is processed.

    • Blend - Camera blends from the previous camera settings.

    • Crossfade - Camera crossfades from the previous camera settings.

  • Update Every Frame - Enable this if you need the camera to track the CameraTrigger's position or rotation continously.

  • Settings - The CameraSettingsResource to use.

  • Previous Settings - The CameraSettingsResource to blend to when Deactivate() is called. Leave this empty to have the CameraTrigger automatically assign it to the previous camera settings.

  • Reference Camera - Required when CameraSettingsResource has CopyFOV enabled.

Methods & Signals

  • Activate() - Call this from a signal to activate CameraTrigger.

  • Deactivate() - Call this from a signal to deactivate CameraTrigger.

Usage

When using with StageTrigger.tscn, typically Trigger Mode should be set to OnStay, On Enter should be MovingForward, and On Exit should be MovingBackward.

Tip: If you simply activate a CameraTrigger and PathTrigger at the same time, you may notice the camera "snaps" even if you increase the CameraTrigger's Blend Time.

For smoother camera transitions, switch to a transitional CameraSettingsResource that has its pitch and yaw modes set to Override, activate the PathTrigger, then activate the CameraTrigger.

Last updated