I have gears on my map that constantly rotate for aesthetic purposes. While they do end up rotating back to the original orientation, the tween makes them go sideways beforehand. Does anyone know how I could rotate it 360 degrees while keeping the gear vertical?
This is the code I currently have. (the default orientation of the gear is 90,90,0)
local info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, false, 0)
local target = {Orientation = Vector3.new(-90, -90, 0)}
local tween = TweenService:Create(gear,info,target)
tween:Play()