Skip to content
Snippets Groups Projects

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

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading