Skip to main content
Flow Core Documentation
Menu

Flow Camera

Driving Camera Shots from a Graph

Activate, prioritize, and modify Flow Camera Shots from gameplay logic.

Audience
Gameplay and camera developers
Time
12 minutes
Requires
A Flow Camera controller and at least two Shots
Modules
Flow Camera
On this page

Use Flow Graph Instructions to request camera changes while the Flow Camera controller remains responsible for Channel filtering, priority selection, transitions, and fallback.

Goal

Activate a CloseUp Shot when an event starts, then deactivate it to return to the lower-priority Gameplay Shot.

Video · 0:43Flow CameraWatch authored Camera Shots produce a visible camera result in Play Mode.

Prepare the Shots

Confirm both Shots:

  • belong to Channel Main;
  • have unique Shot Names;
  • are registered and configured with valid poses;
  • use priorities that express the intended fallback order.

Keep Gameplay activated at Priority 0. Give CloseUp Priority 10 and leave its Activated control off until the graph requests it.

Use each Shot’s Open Full Configuration button to edit identity and priority in Main, then configure its Pose, Transition, and Lens as needed.

Activate a Shot

  1. Open the graph that owns the gameplay event.
  2. Create a Trigger that you can fire, or an Enter node that your gameplay code calls by name.
  3. Add an Action and connect Out on the event node to In on the Action.
  4. Select the Action. In the Flow Inspector, use Add instruction and search for Camera Activate Shot under Camera/Shot.
  5. Select the Instruction row to open Parameters. Click the Target summary to open the field editor. Set Target Mode to Channel And Shot Name, enter literal values Main for Channel and CloseUp for Shot Name, then click Apply.
  6. Enter Play Mode and fire the event. The controller should now select CloseUp.

ActivateCloseUp connects to its Action. Camera Activate Shot opens a Target form with Channel Main and Shot Name CloseUp.

The named Enter calls the Action. In Parameters, click the Target summary to open its form. Set Target Mode to Channel And Shot Name, enter Main and CloseUp, then choose Apply.

Return to the fallback Shot

Create a second event route for the end of the close-up. Connect it to an Action with Camera Deactivate Shot and use the same Channel and Shot Name. Fire that event after the close-up is visible. The controller should select the next eligible Shot in Channel Main, which is Gameplay in this setup.

Do not enable and disable Shot GameObjects merely to request ordinary priority changes. Deactivation keeps the component registered while removing it from selection.

Three Game views show the same subject during Gameplay, CloseUp, and the restored Gameplay Shot.

The same part of the Game view is shown each time. Gameplay frames the subject at a distance. Activating CloseUp brings it nearer, and deactivating CloseUp restores Gameplay. The controller finished blending before each capture.

Extend the graph

Related Instructions let gameplay:

  • set Shot activation from a Bool;
  • change Shot Priority;
  • replace a Follow target, Look At target, or the Orbit Center used with a Controlled Rotation follow offset;
  • change Shot lens values;
  • apply camera shake through a controller;
  • select a controller by main controller, reference, or Channel.

Prefer direct references for tightly owned scene behavior. Use Channel and Shot Name when reusable graph logic should select authored identity. Manage personal picker suggestions in Project Settings > Flow Core > Personal > Names & Whitelists. Runtime lookup still depends on the strings serialized in the graph and scene; it does not depend on a teammate having the same suggestion lists.

Verify the result

On the controller, click Open Full Configuration and select Debug to compare Current Shot and Channel Winner with the visible Game view.

Common Mistakes

SymptomCheck
The Shot is not foundConfirm Channel and Shot Name match serialized identity exactly.
The Shot activates but does not winCompare priority with every other activated Shot in the Channel.
The wrong camera changesCheck controller target mode and Channel.
Fallback leaves no useful viewKeep at least one valid lower-priority gameplay Shot activated.
The transition looks like tracking lagTune transition separately from Follow and LookAt damping.

What You Built

You connected gameplay logic to Flow Camera without transferring camera-selection responsibility into the graph. The graph requests CloseUp; the controller filters the Channel, evaluates priority, plays the transition, and restores the Gameplay fallback after deactivation.