8,836 Commits over 1,735 Days - 0.21cph!
Revert
90141, fix client-side ragdoll neck issues
Merge main -> ServerSideRagdolls
Make sure dropped items that are actually stuck in something never reawaken (fixes stuck arrows falling off)
Merge ServerSideRagdolls -> Aux2
Slight change to buoyancy shouldSleep rule
Make sure that boats which have been made kinematic by the buoyancy system wake up when their engine is started
Add a ray check like DroppedItem has
Use the same kind of kinematic disabling system on ragdolls as I recently implements for dropped items. Allows parented ragdolls on moving objects to sleep.
Merge main -> ServerSideRagdolls
- Commit missing constant for the previous commit.
- Apply parent velocity to dropped items when they return from being kinematic. Sadly we can't really simulate physics in local space, but this seems to be a good enough workaround to stop them flying off
Include Harvestable layer in the stability notification to have it still notify kinematic dropped items (they may want to wake up)
Call OnPhysicsNeighbourChanged immediately if the parent is moving fast. Fixes a time delay on the queue causing the event in an old location, sometimes missing objects out
Moved some vars, increased SLEEP_CHECK_FREQUENCY to 20 seconds
Periodic raycast check to reactivate kinematic dropped items if needed
Cache sleep check, fix server call
Re-enabled Tugboat deployment for the Twitch Rivals desk
Merge Twitch_Rivals_IV -> Main (desk updates)
Fixed chair collider width
Only do the checks while parented
Reinstate
84733, let's try this again
Simplified BaseCorpse ClientInit, things seems to be stable now.
Introduced IsVisibleAndCanSeeLegacy, an old version of IsVisibleAndCanSee with prior behaviour. Applied it to ItemModProjectileRadialDamage to fix explosive ammo damage to construction
Fixed storage barrel collision being more complex than necessary, not convex, and breaking Tugboats
Disabled ability to place Twitch Rivals desk on Tugboat (was causing PhysX errors + collision mesh is too insane to convert to primitives/convex)
Adjusted HAB parent trigger volume due to reports of players falling out
Fixed UNITY_EDITOR define going too low, causing RPCSyncJoints error in server build
Initial merge of ServerSideRagdolls -> Aux2. Includes content from Main.
Take a break from interpolation if we're not getting new data anyway (rigidbody sleeping)
Merge Main -> ServerSideRagdolls
Another materials commit.
Minor edits (make fields readonly)
Removed Update method from Ragdolls, use a call from Client.cs instead for reduced overhead
Ignore body orientation when making a ragdoll out of a sleeper. The sleeper model ignores body orientation, so we also need to ignore it to create the ragdoll at the right rotation!
New sleeptarget convar puts the player you're looking at to sleep (obviously admin only)
Fixed init order trouble with server-side ragdolls that spawn already parented
Merge main -> ServerSideRagdolls
Commit IconRender scene, since others are seeing different lighting. Disabled the twitch rivals desk object.
Early exit for client with server sim in SetInterpolationMode
Ported over the older interpolation fix for client-side ragdolls on tugboats, since we're still looking to support client-side ragdolls as an option for now
Merge TugboatLowFPSFix -> ServerSideRagdolls
Avoid the need for a new method
Merge main -> ServerSideRagdolls
Better fix for ragdoll parenting. No more offset position.
Fixed ragdolls not teleporting when corpses do, causing stretching as they try to follow the corpse