How to rig a viewmodel for roblox animations

I’m using a viewmodel in my game where i cframe a pivot every frame to the camera, and the viewmodel parts are welded to that pivot using weld constraints, but i also want to be able to use roblox animations on it however i couldn’t figure it how to go about rigging it.

Does anybody have a solution?

You can’t. Viewmodels don’t work with Roblox animations. You have to use a custom animation plugin like Moon Animator 2 to animate the viewmodel arms.

Exactly how though?

character limit

Clone your R6 or R15 rig, delete everything besides the arms, if it’s R6 then keep the LeftArm and RightArm, if it’s R15 keep the LeftHand, Left and Right Lower arms and Upper arms. Then you get the moon animation 2 plugin, click on the arms, click on a new animation and just start moving the arms frame by frame until you get the animation you want.

Well, i’m not using arms in the viewmodel, i’m using something like it. I just want to know how to rig them to make them animateable.

When you say ViewModel are you talking about 3d objects appearing in a GUI? Or are you using something to simulate arms in First Person.

It’s like the grabpack in Poppy Playtime.

You can make them animateable through Roblox’s default animation editor - you just need to rig it right. (Arms as an example here - you can do it with anything)

  1. Position everything how you want it to be.
  2. Add Motor6Ds to the arms. Set part 0 to the root part of your viewmodel and then part 1 to the arm itself.
  3. Set the root part as the primary part of the viewmodel.
  4. Modify the C0 and C1 values to get the viewmodel positions back to how you positioned them originally.
  5. Insert an AnimationController and add an Animator.
  6. Start animating it

Hope this helps!

Thanks a lot! Works perfectly.

1 Like

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