Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it possible to animate 2 rigs at once?

If it's not possible then is there any methods to make this easier?

When you close the animation editor plugin, the current rig's pose returns to normal and so you when you animate the second rig, won't have any clues to what the other rig's pose looks like. Thinking about is already annoying

5 comments

0

You can have two roblox studios open at once.

0

no, are you being serious?

0

LOL

0

@Wafflecow321 pls delete ur comment

0

this question is already dead

1 answer

Yes it is possible to animate two rigs at once, however, you will have to load their animations separately in order to do so.

For this example, I will be using two NPCs (these can be swapped out for parts with AnimationControllers if needed)

local animation = Instance.new("Animation", game.ReplicatedStorage)
animation.AnimationId = "rbxassetid://0"

local animPlayer1 = workspace.NPC1.Humanoid:LoadAnimation(animation)
local animPlayer2 = workspace.NPC2.Humanoid:LoadAnimation(animation)

animPlayer1.Looped = true
animPlayer2.Looped = true

-- Available Events

animPlayer1:Play()
animPlayer2:Play()

animPlayer1:Stop()
animPlayer2:Stop()

You must own the assetId of the animation in order for it to be registered. The .Looped is optional

The :Play() and :Stop() events can be used to make the animations work at the same time or at separate times, they should be in the same script, but do not have to be in the same function.

This discussion is preserved as it was. New answers, comments, and votes are closed.