of     1   

ColdSmoke
#141140905Tuesday, July 22, 2014 5:46 AM GMT

Basically, if the camera has a small FOV it kind of jumps around and moves far too quick, how can I throttle it or slow down the movement? inb4showuscode --Broken half made zoom function made before I found myself stumped function Zoom() if LastRotation == nil then LastRotation = Cam.CFrame.lookVector end ZoomLevel = ZoomLevel + 1 Player.CameraMode = Enum.CameraMode.LockFirstPerson Cam.FieldOfView = 30 Cam.Changed:connect(function() if Cam.CFrame.lookVector ~= LastRotation then local Diff = Cam.CFrame.lookVector - LastRotation local New = Diff/10 end end) end
128GB
#141141284Tuesday, July 22, 2014 5:52 AM GMT

ArbiterOfDeath
#141141355Tuesday, July 22, 2014 5:53 AM GMT

The only way I can think of is setting the camera mode to scriptable and connecting to the RunService.RenderStepped event in a localscript and manually handling the camera's rotation.
ColdSmoke
#141141587Tuesday, July 22, 2014 5:56 AM GMT

Just opened it up and seems like it would work. Strange though, it's using a global variable in a local script? is that a local global variable? oh well, I'll just modify it. Thanks.
128GB
#141141661Tuesday, July 22, 2014 5:58 AM GMT

In a local script _G. variables are player specific
ColdSmoke
#141142358Tuesday, July 22, 2014 6:08 AM GMT

Oh really? if only I knew about that sooner, thanks. Also this script works but it's kinda jumpy, not sure I could do better. Thanks anyways. I might try and just change this to working on renderstep instead of mouse.move event and see if it's any better
ArbiterOfDeath
#141142970Tuesday, July 22, 2014 6:18 AM GMT

Yes, it is. The RenderStep calls your function every 60th of a second. Events will wait until the script service next runs at about a 30th of a second. I would edit the script in the free models to use the RenderStep event.
ColdSmoke
#141145128Tuesday, July 22, 2014 6:51 AM GMT

I did edit it, it makes it even more glitchy looking Now I'm trying to see if I can just pull off an effect without the use of first person. Is there any way to lock or move the mouse to the center of the screen without first person?
ArbiterOfDeath
#141145221Tuesday, July 22, 2014 6:53 AM GMT

If you find a way, please let me know because I have that problem in my place.
cntkillme
#141149924Tuesday, July 22, 2014 8:33 AM GMT

I don't think it's possible yet since moving the real mouse is a locked function. But you can make a fake mouse and hide the real mouse.

    of     1