ur
CFrame:Lerp()
wont work cus (im assuming) its the way u set it up. I would presume that u did something that fixed the root's CFrame for a period of time, meaning, that, for that period of time the root wont accept any motion inputs from the player, deadlocking it.
if u understand what i mean so far, we would need to do the opposite of that, and make the updates spontaneous(supposedly within a loop) such that the player will still be able to move the character; something like the below:
place in StarterPack:
local delay = .4
local cam = workspace.CurrentCamera
local root = game.Players.LocalPlayer.CharacterAdded:Wait():WaitForChild("HumanoidRootPart")
game:GetService("RunService").RenderStepped:Connect(function()
local dir = (root.CFrame:Inverse() * cam.CFrame).LookVector
root.CFrame = root.CFrame:Lerp(root.CFrame * CFrame.Angles(0, -math.asin(dir.X), 0), 1 - delay)
end)
or idk perhaps something went wrong with ur operation on the CFrame
2 comments
yeah me too
but at least i can interpret