Issue making custom rig with AnimationController

I’m attempting to make a gun rig for my game, essentially just fake arms and the gun all attached to a part following the camera along with an AnimationController. I have it organized into a kind of dummy animating rig so that I can animate it. The explorer looks like this:

Explorer

However when I click on the animation editor then click on the model in the explorer, it only recognizes the BodyAttach and the arms and gun connected to it. it does not find or see the HumanoidRootPart with the Motor6D under it. I know Roblox features like to be stingy about names and organization, so I think I might be missing something blatantly obvious, but if anyone knows how to fix this it would really help.

1 Like

Are you sure that both the Part0, and the Part1, of RootAttach are set? Could you give us more detail about what the properties of the Motor6d’s are?

Also, try using the Torso as the RootPart, instead of the HumanoidRootPart, and see if that makes a difference.

1 Like

I have it named “HumanoidRootPart” but it’s not actually the HRP, that was failure to clarify on my part. the actual root part is some part I have continuously set to the Camera’s CFrame.

As for the Motor6Ds, the ones under BodyAttach have their Part0’s set to BodyAttach and their Part1’s to the left arm and right arm respectively. The one under the Root part has Part0 set to HumanoidRootPart, the same one in the picture, and Part1 as BodyAttach.

If the HumanoidRootPart Part isn’t actually the character’s HRP, then what is holding this whole rig to the character?

Also, I would refrain from naming a part created by you “HumanoidRootPart”, or any other preexisting name for that matter, since roblox might confuse them for one another.

I have a system already developed to handle connecting this to the character, but that isn’t the issue here. Like I said, this is a dummy rig just designed for animating. And I will rename the part, I didn’t even think about that, thank you.

Yes, but my point was that in order to use the animation editor on a Dummie and a gun rig, there needs to be something holding them together. You need a Motor6d connecting your gun, to your Dummie, in order to animate them together.

Okay I see the confusion here, and it’s again bad communication on my part.
This isn’t actually inside a character. When I say “Dummy Rig” I mean just a standalone rig that’s purely for animating. There is no player connected to this, the model is directly parented to the Workspace.

I’m just a tad confused. How can you animate without a Humanoid to work off of?

That’s what the AnimationController is for. It acts as the humanoid without actually needing a humanoid. I figured out my issue though, thanks anyways.

2 Likes

I somehow overlooked that you were using an AnimationController. Glad you figured it out!