local N=.001 local f=math.rad(80)local z=math.rad(0)local j=.5 local t=.5 local R=16 local Y=200 local e=.56 local Z=require(script.Parent:WaitForChild("\086\082\066\097\115\101\067\097\109\101\114\097"))local x=require(script.Parent:WaitForChild("\067\097\109\101\114\097\073\110\112\117\116"))local p=require(script.Parent:WaitForChild("\067\097\109\101\114\097\085\116\105\108\115"))local G=require(script.Parent:WaitForChild("\090\111\111\109\067\111\110\116\114\111\108\108\101\114"))local I=require(script.Parent:WaitForChild("\086\101\104\105\099\108\101\067\097\109\101\114\097"))local r=require(script.Parent.VehicleCamera:FindFirstChild("\086\101\104\105\099\108\101\067\097\109\101\114\097\067\111\114\101"))local S=require(script.Parent.VehicleCamera:FindFirstChild("\086\101\104\105\099\108\101\067\097\109\101\114\097\067\111\110\102\105\103"))local T=game:GetService("\080\108\097\121\101\114\115")local O=game:GetService("\082\117\110\083\101\114\118\105\099\101")local M=game:GetService("\086\082\083\101\114\118\105\099\101")local P=T.LocalPlayer local m=p.Spring local c=p.mapClamp local K=p.sanitizeAngle local a=Vector3.new(0,0,0)
--[[
	VRVehicleCamera - Roblox VR vehicle camera control module
	2021 Roblox VR
--]]

local EPSILON = 1e-3
local PITCH_LIMIT = math.rad(80)
local YAW_DEFAULT = math.rad(0)
local ZOOM_MINIMUM = 0.5
local ZOOM_SENSITIVITY_CURVATURE = 0.5
local DEFAULT_CAMERA_DIST = 16
local TP_FOLLOW_DIST = 200
local TP_FOLLOW_ANGLE_DOT = 0.56

local VRBaseCamera = require(script.Parent:WaitForChild("VRBaseCamera"))
local CameraInput = require(script.Parent:WaitForChild("CameraInput"))
local CameraUtils = require(script.Parent:WaitForChild("CameraUtils"))
local ZoomController = require(script.Parent:WaitForChild("ZoomController"))
local VehicleCamera = require(script.Parent:WaitForChild("VehicleCamera"))
local VehicleCameraCore = require(script.Parent.VehicleCamera:FindFirstChild("VehicleCameraCore"))
local VehicleCameraConfig = require(script.Parent.VehicleCamera:FindFirstChild("VehicleCameraConfig"))
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local VRService = game:GetService("VRService")

local localPlayer = Players.LocalPlayer
local Spring = CameraUtils.Spring
local mapClamp = CameraUtils.mapClamp
local sanitizeAngle = CameraUtils.sanitizeAngle

local ZERO_VECTOR3 = Vector3.new(0, 0, 0)
