Need assistance with a photo taking game

Hi! I’m working on a little project where you pose for photos, the game uses a fixed camera system decoupled from the player and I want the player to be able to take a Scene Capture from this camera whenever the player chooses.


Here’s the Blueprint for the fixed camera system, the camera switches from the characters camera when the player collides with a box collision

I have an Input Action setup for when the player wants to capture a photo but I’m having some difficulty getting it working, here’s where I am currently;

Obviously this cast doesn’t work, any way I can get it working? Or would there be a better way to achieve what I want?

Any help appreciated, hope the details provided are enough but will happily provide more if needed!

Hey @MJayWell!

Well, I’m sure you’re aware you need to get the camera here somehow.
Is there anything the camera is tied to other than the level? Is it an actor you could possibly use “GetActorOfClass” on? All you need to do is find a way to pass the specific camera object itself in. What is this Enhanced Input Action on? The player? If so, when you collide up there you could set it as a variable, then call on that variable to pass into the BP_FixedCam’s Object line.

Hope that helps! :slight_smile:

Hi again, hope you don’t mind me responding!

This is what I’ve got currently my text is printing so I assume it’s working as intended.

Buuuuuut my SceneCapture isn’t rendering to my Render Target, so now a different issue to fix! I’m hoping if I trawl enough I’ll be able to find a solution haha

Thanks for your help, please let me know if my solution is the problem though and if there’s anything I need to do!