I was looking through a script and I notice this line:
camera.CFrame.Position
And it looks like it’s getting the Position in the CFrame, since CFrame has the position and orientation.
But why not do camera.Position
?
I was looking through a script and I notice this line:
camera.CFrame.Position
And it looks like it’s getting the Position in the CFrame, since CFrame has the position and orientation.
But why not do camera.Position
?
Camera doesn’t have a Position property
Wait so does the camera ONLY have CFrame.Position? or does other things have it?
Classes like BaseParts
and Attachments
have a Position
property; the property just points back to CFrame.Position
and it’s an easier way to set it without resetting the rotation. Camera
only has CFrame