mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
don't disable grabbing when teleporting
This commit is contained in:
parent
1a9f43cb67
commit
045042a9c6
1 changed files with 0 additions and 13 deletions
|
@ -94,7 +94,6 @@ function Teleporter() {
|
|||
|
||||
this.initialize = function() {
|
||||
this.createMappings();
|
||||
this.disableGrab();
|
||||
};
|
||||
|
||||
this.createMappings = function() {
|
||||
|
@ -218,10 +217,6 @@ function Teleporter() {
|
|||
this.updateConnected = null;
|
||||
this.inCoolIn = false;
|
||||
inTeleportMode = false;
|
||||
|
||||
Script.setTimeout(function() {
|
||||
_this.enableGrab();
|
||||
}, 200);
|
||||
};
|
||||
|
||||
this.update = function() {
|
||||
|
@ -494,14 +489,6 @@ function Teleporter() {
|
|||
});
|
||||
};
|
||||
|
||||
this.disableGrab = function() {
|
||||
Messages.sendLocalMessage('Hifi-Hand-Disabler', this.teleportHand);
|
||||
};
|
||||
|
||||
this.enableGrab = function() {
|
||||
Messages.sendLocalMessage('Hifi-Hand-Disabler', 'none');
|
||||
};
|
||||
|
||||
this.triggerHaptics = function() {
|
||||
var hand = this.teleportHand === 'left' ? 0 : 1;
|
||||
var haptic = Controller.triggerShortHapticPulse(0.2, hand);
|
||||
|
|
Loading…
Reference in a new issue