Trying to switch between a player control camera and a camera attached to a still object. Apparently I can’t do it on the level blueprint, but where else should I put the script if the two cameras are attached to different actors?
im not sure but in the character i think you could get the camera attached to a still object and set it to active and deactivate the current. lemme know if worked.
Hmm the problem is that the 2nd camera is attached to another actor that moves on its own and is not relevant to the player, I want to switch between the perspective of that moving asset and the player’s perspective–which means the two cameras are not in the same blueprint class. So I’m not sure where to reference both of them in one blueprint.
make a function from your character blueprint, input of location and rotation. in other actor class, make a function that returns location and rotation of your camera(world). then in your character class, store your relative camera location and rotation. make a action and interp your camera world values to input location and rotation from function. make sure make a start and end function because it will run in tick(or you can make your own tick). if you need smooth transition between cameras make a timeline too.
this is all i think of, i hope this will help you.
Here.
Note that is a play list, not just 1 video
https://youtube.com/playlist?list=PLgRW1PMsJr5qZ9WQ3U__hjAe-6o4f38VT&si=NgMf6BmnmcPodFsV