You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a player is put to ragdoll and kept there with ResetPedRagdollTimer and then GET's damaged by your local player (eg shot at), the ragdoll begins to dance around and flinch and doesn't stop that behaviour.
I don't know why it happens or how I can make it stop.
It even bugs for the local player itself.
Using SetBoundAnkles removes this behaviour but introduces a lot of new animation issues down the line.
Too much to describe, but players will prefer hands to be in a tied position and the ragdolling is more restrictive.
What happened?
When a player is put to ragdoll and kept there with ResetPedRagdollTimer and then GET's damaged by your local player (eg shot at), the ragdoll begins to dance around and flinch and doesn't stop that behaviour.
I don't know why it happens or how I can make it stop.
It even bugs for the local player itself.
Using SetBoundAnkles removes this behaviour but introduces a lot of new animation issues down the line.
Too much to describe, but players will prefer hands to be in a tied position and the ragdolling is more restrictive.
Expected result
A non bugged ragdoll
Reproduction steps
local playerPed = PlayerPedId()
ClearPedTasks(playerPed ) -- Clear previous tasks
SetPedToRagdoll(playerPed , 1000, 1000, 0, false, false, false)
while IsPedRagdoll(playerPed) do
ResetPedRagdollTimer(playerPed)
Wait(0)
end
-- Now go hit the second player. After that, they will do weird stuff.
Importancy
Slight inconvenience
Area(s)
FiveM, FXServer
Specific version(s)
FiveM
Additional information
No response
The text was updated successfully, but these errors were encountered: