Increasing the intensity of Bounce Easing Style

Hey!
How would I increase the intensity of the bounce easing style? I’m trying to make lightning with it, but it settles too much towards the end goal.

1 Like

you mean make it bouncier???

Yeah pretty much, im trying to make it bouncier

never in my whole roblox animating career did i ever find a way to increase the craziness of easing styles. i don’t think it’s possible unless there’s a different way.

You can use TweenService:GetValue() and use a custom tween system to then be able to do pretty much anything. Using an exponent on the alpha value will make it more intense

local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")

local Part = Instance.new("Part",workspace)
Part.Anchored = true
Part.Size = Vector3.new(2,2,2)

local StartPosition = Vector3.new(10,8,0)
local EndPosition = Vector3.new(10,1,0)

local TweenTime = 2

RunService.RenderStepped:Connect(function() 
	local Tick = time() - math.floor(time()/TweenTime)*TweenTime

	local alpha = TweenService:GetValue(Tick,Enum.EasingStyle.Bounce,Enum.EasingDirection.Out)
	Part.Position = StartPosition:Lerp(EndPosition,alpha^4) -- Exponent right here
end)

This script makes a part bounce on the ground, and using the exponent makes it feel as if it was heavier

2 Likes

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