The title says it all, I really need some help with this thanks in advance.
1 Like
Use the camera’s Look vector along with the target speed for the bodyvelocity:
local Camera = workspace.CurrentCamera
local BodyVelocity = --put here
local SPEED = 200 --speed of the body velocity
BodyVelocity.Velocity = SPEED * Camera.CFrame.LookVector
--Note: will only work on client.
3 Likes
I want it to also work when Im looking up and down not just left and right
Did you try it? because CFrames are based on local space.
I couldve sworn I tried this before and it didnt work as intended well its working right now thanks for this helpp ive been trying for hours
1 Like