Checking the player's current camera position

I’m making a system that changes the player’s camera location and I want to make a smooth movement. I’m able to tween the player’s camera location to a location/orientation but unable to tween it back? I believe that I would have to access the player’s camera position/orientation before the tween but I’m unable to find anything about that.

  1. Are there better ways that I could achieve this?
  2. Is there a way to access the player’s camera position/orientation?

Any help could be great! Thanks!

You should be able to do local currentCameraCf = workspace.CurrentCamera.CFrame before you change it (client-side only).

You can also use the reverse parameter of TweenInfo: TweenInfo | Roblox Creator Documentation

Thanks so much it worked perfectly!

Have a good day (:

1 Like