Linear Tweening Issue

Hello developers. I was experimenting with tweens and I decided to tween the haze property in the atmosphere object. It tweens however starts slowly and then finishes super fast. This shouldn’t be happening because i set the tween property to linear.

Code:
ts:Create(l.Atmosphere, TweenInfo.new(20, Enum.EasingStyle.Linear), {Haze = 10}):Play()

Result:

The tweening is linear but when the haze gets past 2 it increases by a lot.
You can test this by dragging the slider.
image

Ahhh, interesting… is there any work around? A way to make it appear linear to the blind eye…?

You could make 2 seperate tweens, with the first tween changing the haze to 2 and the 2nd tween a lot slower with it changing the haze to 10.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.