How to Switch between 2 Camera's in the Player pawn camera Viewport tab?

Yup, you can have as many as you want.

You’ll have 3 options here:

  1. Do not switch cameras :slight_smile: Rather than switching between cameras, change the position of the current camera by manipulating its relative offset
  • set the camera’s relative location and rotation to instantly switch between the viewpoints
  • or interpolate between the 2 locations either during tick or using a Timeline if a smooth transition is needed
  1. Use Child Actors + Set View Target with Blend
  • in Blueprints, Set View Target with Blend cannot be directly forced to use a specific camera (unless something changed recently), this node selects the first active camera it finds. If you cannot afford to activate and deactivate cameras (let’s say you need a rear-view mirror in the car which needs to be active all the time), having cameras as Child Actors is a decent enough solution.
  1. Keep only 1 camera active and Set View Target with Blend
  • Deactivate current camera component, activate the desired one and then Set View Target with Blend
  • use FlipFlop node if there are only 2 cameras to operate
3 Likes