Hi,
I ran into an issue where your character doesn’t move straight when in first person because of camera bobbing.
What I see:
What other players see:
Hi,
I ran into an issue where your character doesn’t move straight when in first person because of camera bobbing.
What I see:
What other players see:
I don’t really know how to make custom character rotation though. Could you tell me how should I do it?
A simple way would be just rotating the character towards the mouse ray directions and just repeat this every frame
local RunService = game:GetService("RunService")
local CharacterRootPart
local Mouse
RunService.RenderStepped:Connect(function()
CharacterRootPart.CFrame = CFrame.new(CharacterRootPart.Position, CharacterRootPart.Position + Mouse.UnitRay.Direction)
end)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.