Animation doesn't play inside Viewport Worldmodel

Hello, I am trying to play an animation on a Humanoid inside a Worldmodel, issue is that it doesn’t play the animation, however when I print out the current playing animation tracks, it correctly show the animation

image

Here is the code that play the animation :

local Humanoid:Humanoid = ViewPortModel.Humanoid
		local Animator:Animator = Humanoid.Animator
		local Animation:Animation = ItemData.Anim
		local Track = Animator:LoadAnimation(Animation)
		
		Track.Priority = Enum.AnimationPriority.Action4
		Track.Looped = true
		Track:Play()
		
		task.delay(2, function()
			print(Animator:GetPlayingAnimationTracks())
		end)

Here is the setup in the workspace :

Thank you very much if you can help!

It could be that rig is fully anchored?
Its a very common cause of it plus the fact that animation does infact plays.

My rig was already fully Unanchored, I fixed the solution by adding a slight delay before the loading and playing the animation (.5 seconds was enough apparently), thank you very much helping me :folded_hands:

1 Like

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