Opposite vector of CurrentCamera.CFrame?

How would I figure out the opposite vector of CurrentCamera.CFrame?

What do you mean by “opposite” here? Just looking the other direction? The inverse? Upside-down?


Looking the other direction :slight_smile:

Your post isn’t very clear, could you provide a visual or example of what you are trying to accomplish? Are you looking for the opposite direction the player is looking, Something like


Useful article:


Yeah! Imagine rotating the CFrame 180 degrees on the y-axis. This is enough as I only intend to use the y-value of the CFrame. I multiplied the CFrame with CFrame.Angles(0,math.rad(180),0) to fix this. Is this the easiest way?

It’s unclear what “opposite vector” refers to but as mentioned above, simply applying a negative would give you the opposite vector. That’s assuming you’re using the Look, Right or Up vector to get a Back, Left or Down vector. A rotation should work, you can test that out for yourself to know more quickly than waiting for a response here. :slightly_smiling_face:

1 Like