Skip to content

Added an arbitrary cap limit to the player's z-delta when applying motion sway to their weapon sprite.

Adam Kaminski requested to merge topic/default/motion-sway-limit into branch/default

It looked weird seeing the weapon sprite sway more and more as the change in the player's z-position increased (e.g. falling from an incredible height). Thus, I added an arbitrary limit that caps the delta to within +/- 10 * motionSwaySpeed to make it look better.

Merge request reports