#Why does my Ragdoll module sometimes make my rig flying on the air?
1 messages · Page 1 of 1 (latest)
@manic rampart the only reason i can think this happens is if you're applying the ragdoll direction directly up
show me how you're calling the function
yes I did make it goes up
task.delay delete it
look at the code
task.delay(duration, obj.Destroy, obj)
ye i've seen it
I think that is not the problem btw
but in your case does the body velocity actually get deleted
the velocity will be deleted.
the velocity actually get deleted
I already checked
then what is, you're telling the player to go up and it goes up
yeah
it just goes up
when ragdoll with knockback force
like it freezing on the air
can i see a video on your specific one?
This is not my video btw
ik that's the ref video but i dont exactly get what you mean by freezing in the air
is a similiar problem that I'm currently facing
the player literally just stops in the air?
Yeah
they stop in the air
ragdoll
then comes down
later.
when ragdoll ended.
in this one the player just keeps going up
they dont get frozen
mine is also going up
I think I didn't look carefully
yeah
they might still be flying
you said it's supposed to go up though?
if possible a video on your specific problem would be very helpful
but sometimes the knockback doesn't even work
alr
imma get it
so i know what i can do to fix
when it sometimes doesn't work is it a problem with the ragdoll module in particular or external scripts?#
is the problem with ragdoll module
mostly
my ragdoll have soo much issue
After it got like goes up for a few time then it keep staying in the physics service
idk how to fix
as i said a video would help a lot
if it's something external too sometimes i cant really help with what i've been given
wdym
i cant at the momment
ok lemme make this problem more clear
So, whenever I ragdoll a rig character NOT player character, sometime the rig character got ragdoll and it keep flying up like the devforum ref vid I send u above. After a few times of flying up like that, the rig falls down and stop ragdoll then the humanoid state of the rig keep being Physics instead of Running (I assume that the ChangState method of the Humanoid failed to set the state of the rig Humanoid to GettingUp so I use a repeat loop to set the GettingUp state until the humanoid have that GettingUp state)
hmm
when you run the repeat loop what happens then
does the humanoid state end up changing?
it fly
idk imma check
also imma upload the vid
@shrewd rain OK so after repeat loop it successfully changed to GettingUp state
huh
i meant when you say this "(I assume that the ChangState method of the Humanoid failed to set the state of the rig Humanoid to GettingUp so I use a repeat loop to set the GettingUp state until the humanoid have that GettingUp state)"
what results do you get
it did changed
to getting up
sometimes it don't
and yield the code
np
why not add it to debris service
debris service exists just for that
(off topic)
Like how much
I heard rumours said that debris slower then task.delay
Never heard
I speculate its because it actually verifies it exists before deleting
?
Idk
But we dont even know if its slower😭😭💀
We can usr boatbomber benchmark
To find out