-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unloading Unconscious Patients Can Cause Ragdoll Carnage #8655
Comments
The There are 2 ideas that might work, one of them was thrown around in the slack some while ago.
For first idea, setting mass might help, but it will most likely cause other issues along the way with the unit now behaving somewhat weird. Second idea means you need to double check everything as locality is now in play. Which mean sending events, keeping an eye on the units state, checking if units gets loaded in or out of a vehicle, race conditions, network lag etc etc None of these are perfect solutions and it means way more discussions about it, maybe someone has even a better idea. |
gently ask dedmen for commands that can controll ragdoll |
There's this: class PhysXParams {
ragdollVehicleCollision = 0;
}; but it does not seem to work, ideally we would get an engine fix which prevents ragdolls from colliding with physx entities. |
https://community.bistudio.com/wiki/awake & https://community.bistudio.com/wiki/isAwake in 2.08 |
Did you test it? |
Closing due to age, inactivity or already solved. May be re-opened if the issue is still present, even better just open a new up-to-date Issue. |
For #10092 I looked into solving this problem for dead units, as they can also cause this type of carnage. I tried both |
Mods (complete and add to the following information):
2.06
3.15.6
3.14.0
Description:
If someone goes unconscious in a vehicle, they'll do a ragdoll when they're first unloaded. That's bad news since ragdolls are known to have the physical force of 50kN.
Steps to reproduce:
Expected behavior:
Patient preferably shouldn't have collision or ragdoll.
Where did the issue occur?
Screenshots:
https://clips.twitch.tv/JazzyManlyStrawberryWTRuck-yKDwg5U175U_Fhs6
Issue is easily re-creatable, though obviously it doesn't always cause as much chaos as in the video.
@diwako I wanted to do a simple patch where we just don't call
setUnconscious
for people going unconscious in vehicles; but it looks likesetUnconscious
is used to actually keep some state (throughlifeState
). What do you think would be the best way to approach this?The text was updated successfully, but these errors were encountered: