How Would I raycast infront of the player regardless of where the player is looking at

Hello,

I’m trying to raycast something 5 studs away infront of the character but I’m not sure how to get the raycasting position regardless of the player’s rotation, any help?

local ray = workspace:Raycast(HumanoidRootPart.Position,HumanoidRootPart.CFrame.LookVector * 5)
2 Likes