Directional movement not really working

I’m working on a VR Hands-esque system but one thing is not working.

Movement.

Whenever I try to move laterally it only works in a straight line. Any Idea how to fix?

LocalScript

camera.CFrame = camera.CFrame + (VR:GetUserCFrame(Enum.UserCFrame.Head).LookVector * direction1) -- direction 1 is direction of thumbstick of format Enum.KeyCode.Thumbstick1

Hey there!

It looks like you’re locking your movement by using only LookVector, this always moves the player forward relative to the camera.

Instead of only using LookVector, you should incorporate RightVector.

Explanation:
RightVector moves the player left/right.

Let me know if you need any further help!

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