Set view target with blend in Player blueprint?

I’m having a problem setting a target with the camera inside the player blueprint, because it’s a component rather than an actor. Something like this would work inside the level blueprint because I can get a reference to a camera in the actual world, but will not work inside the player blueprint because it’s not an actual actor. I want to use the camera inside the player blueprint because it will still follow the player around, rather than having to set up a camera manually. Anyone have any ideas?

Plug in Self reference.

I’ve seen that on answers else where, but I have two cameras in my blueprint. How do I toggle in between them?

Ah, I see. This will be a bit more complicated then.

If you have more than 1 camera component in a single actor, the Set View Target with Blend node will not know which one to switch to. What you can do instead:

  • create 2 new Actors in the Content Browser, each with 1 camera
  • in your player, add 2 Child Actors and set their Child Actor Class to the camera actors you created above, one to each:

You will need to do the above twice; then you should be able to do this:

I’ll have to try this out!