Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get a CFrame always a certain way away of the relative CFrame?

Asked by 7 years ago

So, I want a CFrame with both position and rotation matrix than would mean that it would always be a certain distance away and at a proper rotation relative as well. For instance, if the origin CFrame was at 0, 0, 0, and the rotation were at math.rad(90), 0, 0, then the other CFrame could be at a position of 3, 0, 0 and also have a rotation of math.rad(90), 0, 0.

Everything I have tried doesn't seem to work. I essentially want to make a camera that can always view something from the same angle despite whatever the part's CFrame is.

Answer this question