Commit 6e7c7de
committed
fix(Transformation): provide deadzone value for float
There was an issue where the minimum float value for an axis
could be so low that it just wasn't reported by Unity as an action
meaning any subsequent action may not get updated due to the value
not being recognised as changed.
This fix adds in an extra deadzone value to the float that can be
used to set the absolute minimum reported value to consider as
zero.1 parent 6bcb26f commit 6e7c7de
1 file changed
Lines changed: 11 additions & 1 deletion
File tree
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
25 | | - | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
0 commit comments