iJava
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 29914 |
|
|
| 20 Jun 2016 03:20 PM |
workspace.CurrentCamera.FieldOfView = 70/4
is what I'm currently using, but it also makes mouse sensitivity 4x. is there any way around this?
-Widths |
|
|
| Report Abuse |
|
|
iJava
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 29914 |
|
| |
|
|
| 20 Jun 2016 03:49 PM |
| I think there are cleaner, more advanced ways to do it, but personally I lerp the camera's CFrame and the CFrame of the camera last renderstep to simulate decreased mouse sensitivity. By binding to render step you can avoid visual stuttering caused by the method. |
|
|
| Report Abuse |
|
|
iJava
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 29914 |
|
| |
|
|
| 20 Jun 2016 04:19 PM |
Something like this
local Sensitivity=0.5 local LastLookVector=Camera.CFrame.lookVector function AdjustSensitivty() local NewLookVector=Camera.CFrame.lookVector:lerp(LastLookVector,Sensitivity) Camera.CFrame=CFrame.new(Camera.CFrame.p,Camera.CFrame.p+NewLookVector) LastLookVector=Camera.CFrame.lookVector end game:GetService("RunService"):BindToRenderStep("AdjustSensitivity",Enum.RenderPriority.Last.Value,AdjustSensitivty) |
|
|
| Report Abuse |
|
|
ByDefault
|
  |
| Joined: 25 Jul 2014 |
| Total Posts: 3197 |
|
|
| 20 Jun 2016 04:23 PM |
| You could just move the camera closer to the object. Say 1x = 0 studs, 2x = 25 studs, 4x = 100 studs forward from the scope |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 04:23 PM |
| That would work extremely poorly, you would be able to see through walls and stuff. |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 20 Jun 2016 04:25 PM |
| you could cast a ray and move to where the ray hits or the distance if it doesnt hit anything |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 04:25 PM |
| You use a custom camera saddly, I had a script that did it easily but saddly I dont anymore. Basicly you locked the mouse to the screen and used UIS to detect how the mouse moved |
|
|
| Report Abuse |
|
|