How to achieve this animation smoothness?

i want to make it such that when the player stops moving, the animation doesn’t entirely stop but instead “reverse” back to it’s original state

i tried using timeposition but i don’t think what it’s intended for

what i’m trying to achieve:

what i achieved so far:

and this is the code:

	if moveDir.Magnitude > .5 and isOnGround() then
		if not anim.run.IsPlaying then
			anim.run:Play(1)
		end
		anim.run:AdjustSpeed(math.clamp(linearVeloMag/maxSpeed, 0, 1))
	else
		if anim.run.IsPlaying then
			anim.run:Stop(.7, 1, .5)
		end
		if not anim.idle.IsPlaying then
			anim.idle:Play(.5, 1, .5)
		end
	end

please help :,

Try playing around with the AnimationTrack:AdjustWeight setting the weight to values lower than 1 like 0.8 or above 1.

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