Body Part Changing/ Rigs

Hello! I am trying to implement a 3D clothing system with custom bodies into my game! However, I am struggling to figure how I could change body parts to custom ones! For example, say the player wanted to equip some boots! The boots would be equipped and at the same time change the legs of the player! How would I change the legs? I wanted to try and use mesh deformation so that everything is smooth and looks nice but i don’t know how i would link the bones in the legs/ other body parts to the player! I thought of another way! If mesh deformation wouldn’t be a good option, maybe the different body parts could be separate and attach to the existing body parts! But how?? By that I mean that I mean like the upper leg, lower leg and foot bring separate for example similar to Royale High! I would be grateful for some help! Thanks!

Hey there! Is it a ViewportFrame? :thinking:

1 Like

No i want to change the characters body parts in the actual world for all players to see!

Alright, but is the avatar selection UI a ViewportFrame? If not, there should be a property in Humanoid called RigType. From there, you can select R6 or R15. Check out Humanoid | Roblox Creator Documentation for more information. :+1:

1 Like

No its not a viewport? I don’t understand? Whats important about RigType?? The game is R15

Probably parenting part to the leg,As you cant change the meshid of it and making the original leg invisible,Search “armor roblox” or something along that line to find a tutorial and also get the XYZ scale of the bone your parenting the part to,So it’ll fill the whole leg instead of a leg suspended over your part

1 Like

The trouble i have with that is i don’t necessarily want the new body parts to be the same size as the players original body parts! Most tutorials they just weld it to the existing body but then say parts of the legs were bigger than the players original legs its gonna be all weird!

Hmm Well rescaling the leg will work,The part,Of course not
the original player leg,So If you script it right,even a big leg and your custom leg will still adapt to it

1 Like

Thanks! Ill give it a go! :)))

I don’t understand what you are trying to do, sorry.

1 Like

Have you ever checked out royale high? If you equip shoes on the game it will often replace the players legs with new custom ones? I am just unsure how to do that!

I don’t play Royale High sorry, I’ll take a look.

1 Like

Can you please record a video for me? I am not sure how to equip shoes.

1 Like

Here you go! I hope this helps! Skip to 3:00

If they are in the catalog, you can use HumanoidDescription and ApplyDescription.

If not, you could remove the old body part and change Part0 and Part1 of the player’s Motor6D or put Transparency 1 on the body parts to be changed and weld the new body to the old one.

1 Like

Thanks ill give that a try! :))