Save and load character location, rotation, and camera rotation

Hi, I’m trying to save the location & rotation of the character and also de rotation of the camera and then loading it through a button. I’m using the third person character blueprint, but I set the camera to be on the head, so it’s a real first person, which is why I also want to save and load the rotation of the camera. I know how to save data to a save game and loading it when needed, I just don’t know how to get the coordinates of everything :confused:

One of many ways, I should imagine:

1 Like

It worked!! Thank you sooooo much

How to set the value from where should I connect?

Is this how to get the values?

How do you set them?

image

I’m trying to set actor transform from a save slot and the location gets set but the rotation doesn’t.

When debugging I can see that the rotation values are present in the transform but they don’t get applied to the player actor.

That’s because the player character is special. You have to set it like this

4 Likes