userBill Bcancel
branchrust_reboot/main/PhysicsLayerRevamp/RagdollRewrite2cancel

69 Commits over 184 Days - 0.02cph!

5 Months Ago
Merge main -> RagdollRewrite2
6 Months Ago
Proto, Protocol, Manifest
6 Months Ago
Merge main -> RagdollRewrite2
7 Months Ago
Scrap heli, parent ragdolls
7 Months Ago
Remove extra method
7 Months Ago
Interpolation edit, no longer need the fancy stuff
7 Months Ago
Manifest again, to fix scrap heli
7 Months Ago
Scrap heli fix
7 Months Ago
Enable ragdoll -> vehicledetailed physics collision
7 Months Ago
7 Months Ago
A rather difficult merge. Main -> RagdollRewrite2 (server-side ragdolls)
11 Months Ago
Implemented a fixed offset to the sleeper pose to fix the incorrect rotation. Why do sleepers need this but no other poses do?
11 Months Ago
PlayerBonePositionDataEditor inspector - put the button at the top.
11 Months Ago
Fixed ragdoll incorrect orientation on death on server. Use eye.bodyRotation for the ragdoll spawn instead of transform.rotation.
11 Months Ago
Use transform.position when updating train position, instead of rigidbody.position or rigidbody.MovePosition. I discovered only transform.position correctly moves parented rigidbodies (like ragdolls) along with the train as if they're in local space. THIS FIXES RAGDOLLS FLYING OFF.
11 Months Ago
My collider changes messed with the scrap heli inertia tensor. Manually set it to the old, known-good values.
11 Months Ago
Further cleanup of scrap heli
11 Months Ago
Forgot to save the latest prefab
11 Months Ago
Rebuilt the collision setup for the scrap heli, using all convex colliders. This allows ragdolls and items to collide with all parts of the mesh. Made a few new convex mesh colliders to help build it.
11 Months Ago
A corpse init order that works for both client and server-side ragdolls, but this is very weird and needs investigating further
11 Months Ago
Rigidbody setup fixes
11 Months Ago
Minor edit, don't need to use euler here
11 Months Ago
Pose data updates
11 Months Ago
Don't call SetupRigidBody if the corpse is the rigidbody
11 Months Ago
PlayerBonePositionData now supports loading bone position data from any specific point in any animation. Updated current data.
11 Months Ago
11 Months Ago
Fixed incorrect joint behaviour in ragdoll due to init order changes
11 Months Ago
Fixed incorrect offset for initial corpse limb positioning on server.
11 Months Ago
Merge Main -> RagdollRewrite2
11 Months Ago
Working on fixing pelvis offset troubles and fixing the jitter at initial spawn
11 Months Ago
Fixed arm positions not being set. Some bones were null, and blocking subsequent ones from being set.
11 Months Ago
If corpse is an old-style corpse, still spawn it at the player's centre point instead of at their feet. + some debug tidy-up
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.
11 Months Ago
Corpse prefab bone structure fixes
11 Months Ago
Fixed pelvis shenanigans, reverted to original ragdoll style. I didn't originally realise that the pelvis isn't always at 0,0,0 (e.g. when crawling)
11 Months Ago
Reset pelvis offset on server-side ragdoll creation
11 Months Ago
Lerp experiment. Initial 500ms lerp from the client's final position to the server's data.
11 Months Ago
Various bits, moving some changes to RagdollRewrite2
11 Months Ago
No need to call CopyBonesFrom if the corpse is the ragdoll
11 Months Ago
Buoyancy adjust to match old behaviour
11 Months Ago
Set up ragdoll buoyancy. Update arrays.
11 Months Ago
Increased ragdoll solver iterations to decrease jitter
11 Months Ago
Fixed ragdolls still sinking into vehicles a bit as the vehicle moved (most visible via scrap heli ascending with ragdoll in the back). Was caused by still have rigidbody interpolation on on the ragdoll when doing server-side simulation, which was giving it a slight delay.
11 Months Ago
Fix build settings
11 Months Ago
Revert accidental TriggerParent change
11 Months Ago
Removed DoMovingWithoutARigidBodyCheck method from BaseEntity.Server. This was unused and hasn't been an issue since Unity 5.
11 Months Ago
Match corpse position sync parameters to vehicle position sync parameters. Keeps corpse world position properly in sync when on a moving vehicle. Since limb positions are local, we can get away with updating them less often - keeping the base position accurately in sync is enough.
11 Months Ago
Manifest rebuild after merge
11 Months Ago
Merge Main -> RagdollRewrite2
11 Months Ago
More precision - reduce MAX_JOINT_DIST to 2