Ad
Log in to vote
0

[UNSOLVED] Animation script not playing on rigged skinned mesh??

Asked by
L30N_C 20
15 days ago
Edited 15 days ago

Ok so. I have just learn how roblox skinned meshes work. And i have made a skinned mesh with an animation.

I want the animation to loop in game but the** animation is not playing**.

I have inserted a humanoid into the model where the mesh are so the animation should play.

Here is the script I made:

local animation = script:WaitForChild("Open")
local Mesh = script.Parent:WaitForChild('Cabinet')
local OpenAnim = Mesh:LoadAnimation(animation)
while true do
    OpenAnim:Play()
    wait(3.20)
end

as you may see, the mesh is a cabinet that should open when you hit play but nope.

1 answer

Log in to vote
0
Answered by 14 days ago

I never used skinned meshes before, but i think you need a animation controller to use those.

Ad

Answer this question