11 Months Ago
New system to handle the server having no info on the position of a player's limbs: - Server saves a player's PlayerFlags just before death resets them, and passes them into the corpse. - PlayerCorpse looks at them and infers whether they should be standing, crawling, sleeping etc. - Corpse then selects from a set of new scriptableobjects storing bone position data, and copies that bone data into the new ragdoll, getting the server's ragdoll starting position much closer to what will most likely be happening on the client.