mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Adjust hand controller unequip rotation threshold
This commit is contained in:
parent
4974c88880
commit
289cd6ba2b
1 changed files with 1 additions and 1 deletions
|
@ -1849,7 +1849,7 @@ function MyController(hand) {
|
|||
z: 0
|
||||
};
|
||||
|
||||
var DROP_ANGLE = Math.PI / 6;
|
||||
var DROP_ANGLE = Math.PI / 3;
|
||||
var HYSTERESIS_FACTOR = 1.1;
|
||||
var ROTATION_ENTER_THRESHOLD = Math.cos(DROP_ANGLE);
|
||||
var ROTATION_EXIT_THRESHOLD = Math.cos(DROP_ANGLE * HYSTERESIS_FACTOR);
|
||||
|
|
Loading…
Reference in a new issue