Making a Look vector turn left or right

Try this.

(Part.CFrame * CFrame.Angles(math.pi/2, 0, 0)).LookVector

Important things to know:

  • math.pi/2 represents 90 degrees
  • If the lookvector turned in the wrong direction, move the ‘math.pi/2’ to another position in the CFrame.Angles value
  • If the lookvector turned the opposite direction to your likings, put a subtraction sign (-) in front of the ‘math.pi/2’ like so:
(Part.CFrame * CFrame.Angles(-math.pi/2, 0, 0)).LookVector
3 Likes