mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:56:45 +02:00
Adjusted theoretical Unequip time to 250 ms
This commit is contained in:
parent
a6040197eb
commit
4bed3ee036
1 changed files with 1 additions and 1 deletions
|
@ -2103,7 +2103,7 @@ function MyController(hand) {
|
||||||
this.autoUnequipCounter = 0;
|
this.autoUnequipCounter = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.autoUnequipCounter > 1) {
|
if (this.autoUnequipCounter > 0.25) {
|
||||||
// for whatever reason, the held/equipped entity has been pulled away. ungrab or unequip.
|
// for whatever reason, the held/equipped entity has been pulled away. ungrab or unequip.
|
||||||
print("handControllerGrab -- autoreleasing held or equipped item because it is far from hand." +
|
print("handControllerGrab -- autoreleasing held or equipped item because it is far from hand." +
|
||||||
props.parentID + ", dist = " + dist);
|
props.parentID + ", dist = " + dist);
|
||||||
|
|
Loading…
Reference in a new issue