Download

store camera actor from one level to another and back

Hi guys,
i have a level with a journal that is accessible from every other level in my game.
So before i open the journal level i store my acctual character position, rotation and scale to variables in my game instance so they dont get deleted.
When i get back from the journal level to the level before i can get these these values and set my character position, rotation and scale as it was before.

problem is:
each level has many cameras that change depending on my player position so i also save the current camera into a camera actor variable in my game instance when i go to the journal level.
but if i go back to the level before this camera actor variable seems to get deleted …

is this by design or am i doing something wrong ? is there any way i can store a camera between levels ?

kind regards stucki