Olezen / UnitySourceMovement

Source engine-like movement in Unity, based on Fragsurf by cr4yz (Jake E.).
MIT License
313 stars 46 forks source link

Feature/scrollwheel jump #16

Open Chillu1 opened 3 years ago

Chillu1 commented 3 years ago

Basic jump scroll concept (did it in my own game, TagHop, so sharing it here as well). Timing is pretty easy right now, and forgiving (if timed incorrectly). That can be changed with multiplying scrollJump -= Time.deltaTime; or . scrollJump + mouseWheelAxis * xf Or changing the clamp.