Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Smoothly move character to camera's point of view?

1 answer

This is done with some camera manipulation

If you want the simple route then you could do

userInputService.MouseBehavior = Enum.MouseBehavior.LockCenter

Then using some CFrame math you could renderstepped the HumanoidRootPart's

by doing something like this:

rootPart.CFrame = CFrame.new(rootPart.CFrame.p,rootPart.CFrame.p + Vector3.new(Mouse.hit.lookVector.x,0,Mouse.hit.lookVector.z))

This discussion is preserved as it was. New answers, comments, and votes are closed.