Animating models

so i have a sword.obj model i made, and a rig

i animated both of them in one moon 2 file, but i cannot figure out how to make it so the model in the world plays the same animation i applied to it in my moon 2 file. it plays the animation on the player perfectly fine but the model doesn’t get animated

1 Like

Use a motor6d to connect the model to the UpperTorso(R15) or Torso(R6).

Part0 is Torso & Part1 is the model

1 Like

Part1 is a part in the model. The easiest way is naming the part that the character holds “handle” and setting it as part1. If there isn’t a part like that, make an invisible part & add it to the model where the character holds it most of the time. In the Animation Editor the part connected to the Torso (handle) is the part being animated & the other parts in the model move with it. Idk about Moon Animator but it should be the same.

The thing to understand here is that animations in Roblox are rig-specific. When you animate a player, your animating their Humanoid rig bones. When you animate a model in the world (like your sword.obj + rig), Roblox needs that model to have the same hierarchy and rig structure as the one used in your animation. If it dosent match, the animation wont apply correctly!

– exmaple:

SwordModel
 ├─ Handle (BasePart)
 ├─ Blade (BasePart)
 └─ Motor6D connections linking the parts

The animation moves the Motor6Ds, not the individual parts directly! (this would work for meshes liek your .obj too)

Then you can load the animation onto an Animator and matching the hierarchy if needed!


Basically: the animation works on the player because the player rig matches what the animation expects. To make the model in the world animate, you need to replicate the same rig structure in your world model and play the animation through an Animator or Humanoid.

Hope i could help with this and i dident understand the question wrong lol!

2 Likes

i had found the solution the other day but thank you :smiley: this is exactly how i got it done

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