How would I get the directions to the sides of where the player is facing?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    The directions that the player’s sides are facing.

  2. What is the issue? Include screenshots / videos if possible!
    I do not know how to do this.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried looking for solutions, but I haven’t been able to find a post matching my issue.

Let’s say I have a player character, and we assume that the direction they’re facing is north. How would I get the directions east and west are in?

image
I’ve worded this pretty badly, so I hope this helps you understand what I’m looking for.

If I understand your question, this should be simple. If you have the CFrame of the player’s position, just use CFrame.RightVector for the “right” and -CFrame.RightVector for the “left”.

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