branchrust_reboot/main/PlayerColliderModcancel
15 Commits over 0 Days - ∞cph!
Add a final RefreshColliderSize at the end of OnDisconnected
Switch CapsuleColliderInfo to a struct
Code Review: Take the slower but less bug-prone option and check collider info values instead of the object
▄▇▋▆▋ ▇▍▍▌▊▄ ▉▇▊▍▄█ ▅▌▌▊▋██ ▅▅▌▇▆▆▆▋▅, ▇▌▌█▄▉▅▆▊
Comment re resizing and triggers
Only refresh player collider size on the local client, since it's always disabled on other clients. Also adds an early exit.
Have the player's collider resize on the client in the same way it does on the server. Add profiling.
Shrink the server collider on sleepers, the same as with wounded.
Remove unnecessary include
Add RemoveFromTriggers call to EnablePlayerCollider
Server player collider now resizes when crouched. Refactored collider size calculation to be more robust; have it check state instead of pushing it.
Raise top reactive target IO a little
Reinstate
53468 (ProjectilesThroughVehicles) and
53754 (wounded player collider adjustment) in this branch.