Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Set position of camera without affecting rotation?

How would I set the position of the camera without affecting it's rotation?

1 answer

✓ Accepted answer

By using the components method of CFrame.

I'm on my iPad right now so coding is difficult, but here's how:

Set up variables to catch all the return values (there are 12), and then pass them back in to a CFrame.new, modifying the first three to affect only the X, Y, and Z components of the Position, in that order, without touching the Rotation.

This discussion is preserved as it was. New answers, comments, and votes are closed.