Adding tools that the rig can hold is a straight-forward process, but it does require you to use the provided rig that I have in the post.
When you’ve got the rig in blender, you can find AnchorPoints on the Torso, Hip, Thigh, and Hands, they look like blue, red, or white spheres with a hexagon in the middle (or whatever shape that is)
Once you’ve located the AnchorPoints, you should import whatever tool you want to be animated, for this example I’m going to be using a sword.
Go into Roblox Studio and take your tool, then in the Explorer, right click on the instance and find “Export Selection…”
Then export your tool, I’ll be saving mine as a.obj
for this.
In Blender with the R6 Rig open, go to File
> Import
> Wavefront (.obj)
Then select your tool in the popup and click Import, and your tool should appear nearby
If you don’t see your tool, you might have exported it far away from 0, 0, 0
,
To fix this, simply right click anywhere with the object selected, then Set Origin
> Geometry to Origin
Your tool should then appear right in the middle of the viewport world
Go ahead and move your tool to a position where it would normally be held or just anywhere on one of the AnchorPoint
s
Then select your tool and go to the constraint tab on the right of your screen, and click on Add Object Constraint
and search for Child Of
Then set the Target
to Armature
or use the eye dropper tool to select the rig itself (make sure to select the rig and not the body part)
Then set the Bone
option to whatever AnchorPoint
you set the tool to (labeled as RightHand, LeftHand, RightHip, LeftHip, RightThigh, LeftThigh, FrontAnchor, BackAnchor.)
If the tool moves position or does something weird, make sure to click Set Inverse
at the bottom of the constraint
Now your tool will follow the AnchorPoint you set it to.
You can now enter Pose Mode
and animate how you do normally, and you can move the AnchorPoint
you have set to the tool and the tool will follow it, assuming you set it up correctly.
Once you’ve got your animation, export it using the blender and roblox plugin that is needed to even export the rig. (if you don’t have the plugin, see my comment here: R6 IK + FK Blender Rig - #5 by Aeresei)
Then, head back to Roblox Studio
Before importing the animation into the rig, make sure you have the tool welded to the associated AnchorPoint
you had in blender.
You can do this with the RigEdit Plus
plugin (which was recently made free) or the Moon Animator Easy Weld
to weld the sword to the anchor point, or you can simply add a WeldConstraint
with the properties set to have it stay with the AnchorPoint
Make sure the tool is NOT anchored
Then, go ahead and import your animation onto the rig I provided with the same plugin I said above, and you should see the rig animated as well as the tool!
If you have any more questions just reply to this comment or the post itself.