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

How do I lock the camera on the player's head?

1 answer

✓ Accepted answer

I have some tips!(These must be local scripts)


Interpolate

Interpolation is a function, when ran, it can make your camera run smoothly to the destination it needs to go to:

workspace.Camera:Interpolate(workspace.Player.Head, workspace.Player.Head, 5)
--Go to the player's head and make the camera focus on the player's head; it will take 5 seconds to reach the destination.

http://wiki.roblox.com/index.php?title=Interpolate is a good place to study, like how alphawolvess said.



Hope this helps!

1 comment

2

Wouldn't you use the CurrentCamera?

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