of     1   

Raphael7
#208280570Thursday, January 26, 2017 6:11 PM GMT

How would I get the MoveDirection (Humanoid) become relative to the Camera? Let's say I have a player, and this player is seated, when a player moves (w, a, s, d, etc.), the MoveDirection changes, and when you move your Camera as well, it changes as well. I want to make it so that when a player presses a or d (left and right, relying on MoveDirection and not input), the player point to the left/right. bg.CFrame = workspace.CurrentCamera.CFrame * CFrame.new(workspace.CurrentCamera.CFrame.lookVector * 100) * CFrame.Angles(0, 0, (humanoid.MoveDirection.X - humanoid.MoveDirection.Z)/2) -- Piece of code I know I have some more missing stuff because that line accounts for forward and backward movement due to MoveDirection. Any ideas? tl;dr I want to make the player swing to the left or right based on MoveDirection. Any ideas?
Raphael7
#208286591Thursday, January 26, 2017 8:48 PM GMT

Bump

    of     1