How to change CFrame position and CFrame rotation in the same tween?

I’m doing camera manipulation, and I want to rotate and move the camera at the same time. The problem is, I can’t play two tweens with the same property at the same time, so I tried doing this:

local Start = {CFrame = Cam.CFrame * CFrame.Angles(0, math.rad(90), 0), CFrame = Cam.CFrame * CFrame.new(0,0,5)}

That just says I can’t have duplicate properties in a property table. If anyone know how to do this I would appreciate it!

1 Like

You can just add the position after multiplying for rotation:

{CFrame = Cam.CFrame * CFrame.Angles(0,math.rad(90),0) + Vector3.new(0,0,5)}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.