function VRBaseCamera.GetVRFocus(i,L,m)local M=i.lastCameraFocus or L i.cameraTranslationConstraints=Vector3.new(i.cameraTranslationConstraints.x,math.min(1,i.cameraTranslationConstraints.y+m),i.cameraTranslationConstraints.z)local N=Vector3.new(0,i:GetCameraHeight(),0)local T=CFrame.new((Vector3.new(L.x,M.y,L.z)):Lerp(L+N,i.cameraTranslationConstraints.y))return T end

function VRBaseCamera:GetVRFocus(subjectPosition, timeDelta)
	local lastFocus = self.lastCameraFocus or subjectPosition

	self.cameraTranslationConstraints = Vector3.new(
		self.cameraTranslationConstraints.x,
		math.min(1, self.cameraTranslationConstraints.y + timeDelta),
		self.cameraTranslationConstraints.z)

	local cameraHeightDelta = Vector3.new(0, self:GetCameraHeight(), 0)
	local newFocus = CFrame.new(Vector3.new(subjectPosition.x, lastFocus.y, subjectPosition.z):
			Lerp(subjectPosition + cameraHeightDelta, self.cameraTranslationConstraints.y))

	return newFocus
end
