How to get a player's default camera position?

I am making a game where you can customize your character. the camera smoothly zooms into the player to allow you to see your character while you’re customizing, however, when I press the close button it just snaps back to my camera’s position, but I want to smoothly tween back instead. the character can also move so storing the previous camera’s position and orientation will not work. I’ve tried reading posts on it but all their solutions are to snap it right back to the player with Camera.CameraType = Enum.CameraType.Custom rather than smoothly moving it back. please help.

1 Like

I’d suggest storing the client’s camera’s position before transitioning it so that you can smoothly animate it back to its original position when necessary.

I already stated that I do not want that, as the player will be able to move around that when they close the UI the position will be wrong and tween away from the correct position

Then continue to store its position until you no longer need to do so.

but then it’ll store the position as the camera is tweening and the player can move during that time and while the camera is up to the player

1 Like