How do I make a custom rig stand on it's legs?

  1. What do you want to achieve?
    I want to create an antagonist character for a horror game I’m working on, but I don’t know how I can make it stand on it’s legs.

  2. What is the issue?
    It just falls on the ground, only walking on the HumanoidRootPart.
    image
    image

  3. What solutions have you tried so far?
    I tried renaming the two front legs Right Leg and Left Leg, I thought it would work like the default dummy does.

There is no real coding behind what I made so far, all I need is to make it stand on it’s legs like the default dummy does.
I tried doing CanCollide = true but that’s inefficient and can cause unintentional stuff like flinging and other.

I also tried to do a little bit of pathfinding, it can walk normally, but it falls on the HumanoidRootPart and drags itself across the way.

How do I make the custom rig stand normally without falling?
Thanks for reading.

1 Like

First off this topic is more appropriate in the #help-and-feedback:building-support category because you mentioned

and this is more a problem than you ran into while building than scripting.

Second off, Humanoid | Roblox Creator Documentation has a property Humanoid | Roblox Creator Documentation that decides the distance above the ground the character is. This can be thought of as the distance from the bottom of the humanoid root part and the floor. This can be set using a script, the command bar, or manually. If your setting it automatically with a script then with a custom rig the best option is to either create your own function to calculate the distance using the size of the parts in the rig. However, in some cases it might be easier to make a single Raycast down if the rig is already standing on ground and not moving anywhere. This may be quicker and easier for you to do but it depends on personal preference. The first method of using part sizes will most likely be more accurate however.

3 Likes

What if you make the HumanoidRootPart touch the ground (so it’s as tall as the entire creature)? Make sure to make the HumanoidRootParts can collide to true.


You don’t need to have every body part collideable, you can make it just the legs that collide (or you can animate it and have everything can collide, because animations ignore physics).

Holy cow, I didn’t think of that!
Thank you so much, and thank you for mentioning the category problem as well!!

1 Like