• Getting the Player's Mouse Speed
    3 replies, posted
Nothing too special, I was just wondering if there was a value for how fast the player is moving the mouse.
Just use a Think hook and sample the positions from gui.MousePos. That way you can get the delta of the positions which is basicly the speed.
[QUOTE=Wizard of Ass;35438848]Just use a Think hook and sample the positions from gui.MousePos. That way you can get the delta of the positions which is basicly the speed.[/QUOTE] Ah, that should work just fine, thank you!
Replace the variables for get a clamp value V = d / t
Sorry, you need to Log In to post a reply to this thread.