Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply incrementalActionSensitivity scaling to continuous-action trim …
…inputs. Also scale by Time.deltaTime for trim and incremental-throttle inputs, as otherwise the rate of change would depend on framerate. This makes trim and incremental throttle usable with hat axes (and, I guess, more usable across the whole range of a proper analog axis). Previously trim would immediately clip to +/-1 if you tried to control it with a hat axis, which is no use. Default sensitivity might need increasing now that everything's scaled by the delta-time.
- Loading branch information
1 parent
55206e0
commit 73a1a56
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters