Changing Cameras using Game Animation Sample

Hi all,

I am using the Game Animation Sample. I have a blueprint that temporarily changes the camera on a collision for a cutscene. To do this I am using the SetViewTarget node. However, on the second instance of the collision, I want the camera to switch back to the default. I do not know what to place in the NewViewTarget field to switch it back.

I have attached a screenshot of my blueprint, although it may be hard to see.

Any guidance would be greatly appreciated, thanks!

SetViewTarget switches cameras between actors.

Your Character (A), Some other Actor (B)

[A → B] SetViewTarget (Target: A → New Target: B)
[B → A] SetViewTarget (Target: B → New Target: A)

Hi all,

This has been RESOLVED!!

The issue was caused by the new GameplayCameraSystem, implemented in the ue5.5 updated to Advanced Locomotion System. My best guess is that this messed something up with the Set View Target node.

Looking in the console, it read

LogScript: Error: Script Msg: Can’t auto-manage active view target: no camera system host found!

Disabling this within the Game Animation Sample Widget (Which ran
DDCVar.NewGameplayCameraSystem.Enable = “false”)

Has FIXED THE ERROR!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.