function VehicleController.Update(i,n,D)if i.vehicleSeat then n=n+Vector3.new(i.steer,0,i.throttle)if D and(onlyTriggersForThrottle and useTriggersForThrottle)then i.vehicleSeat.ThrottleFloat=-i.throttle else i.vehicleSeat.ThrottleFloat=-n.Z end i.vehicleSeat.SteerFloat=n.X return n,true end return n,false end return VehicleController
-- Call this from a function bound to Renderstep with Input Priority
function VehicleController:Update(moveVector, usingGamepad)
	if self.vehicleSeat then
		moveVector = moveVector + Vector3.new(self.steer, 0, self.throttle)
		if usingGamepad and onlyTriggersForThrottle and useTriggersForThrottle then
			self.vehicleSeat.ThrottleFloat = -self.throttle
		else
			self.vehicleSeat.ThrottleFloat = -moveVector.Z
		end
		self.vehicleSeat.SteerFloat = moveVector.X

		return moveVector, true
	end
	return moveVector, false
end

return VehicleController
