Animation Not Starting from Beginning

Hello, I’m not sure if there is a way to make an animation guarantee to start from the actual first frame without seemingly interpolating to the frame with a delta.

My animation by itself (in the animator plugin) is this

However, when I play it the animation looks like this (the final swing, there are two before it)

You can see my hands go nowhere near as high as they should. What can I do to make sure the animation plays from its first frame? The way I am playing them is below

-- Do not replay a currently playing animation
	if (animationName == module.currentAnimationName) then
		return
	end
	
	-- If there was a preview animation that was not disposed of
	-- then dispose of it
	if (module.currentAnimationTrack ~= nil) then
		module.currentAnimationTrack:Stop()
		module.currentAnimationTrack:Destroy()
	end
	
	local animationObject = animations[animationName]
	local animationTrack = humanoid:LoadAnimation(animationObject)
	module.currentAnimationName = animationName
	module.currentAnimationTrack = animationTrack
	animationTrack.Priority = priority
	animationTrack.Looped = looped
	
	animationTrack:Play()
	
	-- Is there a speed adjustment?
	if (animationObject:FindFirstChild("speed")) then
		animationTrack:AdjustSpeed(animationObject.speed.Value)
	end

You just remove the fade

Animtrack:Play(0)

1 Like

Thanks. That seemed to do it for the most part.

1 Like