Hello, I’ve been wanting to know how to, if possible, change the height specifically of a humanoid via script. I specifically want to use it for making an almost squash and stretch affect while playing, like stretching out while falling and squishing down when landing.
The humanoid is R15. I’ve tried searching for it in the forums and documents but I haven’t been able to find anything that will help me. Any help would be greatly appreciated!
I have been trying to figure that out just now, but whenever I apply the description to the humanoid, it breaks the rig for some reason, causing it to constantly fall clip slightly into the floor.
I just read a post that saying HumanoidDescriptions need to be applied, they wont update until the method Humanoid:ApplyDescription(HumanoidDescription)
local Hum = game.Workspace.Dummy.Humanoid;
Hum:ApplyDescription(Hum.HumanoidDescription)
The HipHeight may not be automatically adjusted if you script the Scale.
The link tells you the calculation for setting the HipHeight of a character. It may also fix the ‘constantly falling’ issue. I think there’s a raycast in humanoids or something similar that determines how high above the ground it is. If you’re making it taller without that method being modified the player may not be registering that the player is standing on the ground.
I wonder if it’s because you’ve flipped the Axes of the MeshParts in the model and the Height scale only works on a player’s parts on the Y axis.
The reason I suspect that is that in your picture the arms seem thicker, not longer, and the head seems skinnier, While individual parts of the legs seem to be stretched in a single direction but not the correct direction.
I think you’re right. I think I’ll fiddle around with and test offsets to see what exactly I can do to get it to look right… hopefully. The way the face concerns me that it might not ever look right. Thank you so much for the help, though!
It seems like moon animator allows for squash and stretch within its software, so I think I’ll end up using that to help me with this, even if it does cost 30$.