Hello! today I’m trying to find a number from a specific point in a graph. Some background info: I have a module with specific data ex: 20 xp for win and currently my script does xp / maxwave * wave but I’m trying to instead of making the data linear make it on a easing style. The easing style I’m going for is quart ex:
Could you not tween a NumberValue or IntValue and use that to help you get the value specific to a graph point? As the number would be moving in a Quart easingstyle.
Yeah thats what I’m thinking but my question is how would I find that point within the graph?
for instance the maxwave is 42 and the wave is 21 how would I find the middle of the graph?
Yeah, sure!
I used this script for creating a smooth camera tween
local val = TS:GetValue(percentage, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) --lerp animation
local cameraLerp: CFrame = camera.CFrame:Lerp(goalCamera, val)