Tool in NPC animation locking to attachment

Hi, I’m using Moon Animator to animated an NPC that has a Handle attaching the right arm to a sword mesh, and in the animator preview the sword displays in the correct area, but when I run a script to have this animation loop when the NPC sits in the workspace, the sword locks into the spot where its attachment is. How would I go about fixing this?

Here are some reference images: (bottom is in game)


image

3 Likes

bumpy bump bump
bump ba bump…

1 Like

I realize now that the second picture is a screenshot of a different version of the animation (the shoulders) but its having the same issue with the sword.

How is the sword welded to the npc, can you show?


The handle connects to the Handle of the sword.

image
Something is going terribly wrong in RigEditor lol


Perhaps I need to retry this with another rig?? The fresh one has the wrong orientation of the sword, but the correct grip place.

EDIT: Creating a fresh rig now does not solve the orientation problem: the sword keeps pointing up. Is there a lore reason?

I think I see the issue. Make a separate part called handle. Weld that part to the right arm with the MoonAnimator weld editor, then weld the sword to the handle. So sword welded to handle, handle welded to the right arm, that should work. I do this trick with my viewmodel guns that use R6 arms and it works.

2 Likes

This worked, thank you so much!

2 Likes

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