I would like to request a ModuleScript that is used by the RootCamera ModuleScript to provide default values (found on line 52, to line 59). By providing this module, it would allow for the RootCamera to be further modified without needing to replace the entire RootCamera. My use case for this is to slow down the camera's sensitivity after offsetting the camera to give the player the same amount of control from a farther distance.
I've included an example below.
CameraDefaults (inside CameraScript.RootCamera):
local CameraDefaults = {}
CameraDefaults.MinY = math.rad(-80)
CameraDefaults.MaxY = math.rad(80)
CameraDefaults.TouchSensitivity = Vector2.new(math.pi*2.25, math.pi*2)
CameraDefaults.MouseSensitivity = Vector2.new(math.pi*4, math.pi*1.9)
CameraDefaults.SeatOffset = Vector3.new(0,5,0)
CameraDefaults.HeadOffset = Vector3.new(0, 1.5, 0)
return CameraDefaults
|