Hello all,
i was working on a ragdoll system, and, very annoyingly, whenever i turn platform stand back to off, the character does a flip and launches slightly into the air. this is, whenever i try to turn off the ragdoll.
so far i’ve tried not using platform stand (this did not work, the character wouldn’t fall down, just kind of float with its limbs flopping), :SetStateEnabled(), :ChangeState().
how would i resolve this? i can give code snippets or further explain if necessary.
1 Like
It’s probably the rig becoming “solid” again so it clips into the floor and the freaks out because it shouldn’t do that, not entirely sure how you can fix that maybe setting the player back to the position they were previously or anchoring them for a bit before, i think you can also just place them above the ground manually to avoid the cliping all together
how would i place them above the ground?
Maybe try using a cframe of the humanoid root part to teleport him slightly to the up?
Adding a Vector3 to move them upwards would probably work, raycast to the floor then position them at where the Raycast hits and add a Vector3 a few studs off the floor, 3 or 4 is normally the right height
that wouldnt be very smooth. take TSB for an example. how would i make my ragdolls look like that, or should i not use ragdoll in my game? (im not making a battlegrouds game)