After I die I spawn along with a copy of myself (Static) and I would like to put my fixed camera back to the starting point, how do I do it?
Hi man,
What is your fixed camera?
an actor camera in the level?
When you respawn your character, search for the camera actor and set the location of the camera to wherever is the âstarting pointâ
You need a reference to the actor,
Bad-QuickTrick
you can get it using âGet all actor of classâ -.selecting camera actor , this will return to you an array of actors.
(then you have to use a loop and find the right one, you can use âactor has tagâ, and sure , you have to add the tag to the camera actor in the level ! )
If you only have 1, use âGet actor of classâ this will give you just the first found.
So, get actor of class- CameraActor , Set location.
Thanks for answering me (Whatâs your name? Mine is Sarah) So ⌠my camera is a fixed actor, can you explain it better how I get it by looking at my death screen and respawn code?
Remove the death logic from the tick, use event any damage, when 0 or less, spawn new character, possess, notify the camera actor of the change (set location to new pawn or use a blend), destroy old character.