laser on tablet update
This commit is contained in:
parent
dbb91e5953
commit
e33012e522
@ -433,7 +433,8 @@ Script.include("/~/system/libraries/controllers.js");
|
||||
var nearGrabModule = getEnabledModuleByName(nearGrabName);
|
||||
var status = nearGrabModule ? nearGrabModule.isReady(controllerData) : makeRunningValues(false, [], []);
|
||||
var offOverlay = (intersection.type !== RayPick.INTERSECTED_OVERLAY);
|
||||
return offOverlay || status.active;
|
||||
var triggerOff = (controllerData.triggerValues[this.hand] === 0);
|
||||
return offOverlay || status.active || triggerOff;
|
||||
};
|
||||
|
||||
this.exitModule = function() {
|
||||
|
@ -20,7 +20,7 @@ Script.include("/~/system/libraries/controllers.js");
|
||||
var HAPTIC_STYLUS_STRENGTH = 1.0;
|
||||
var HAPTIC_STYLUS_DURATION = 20.0;
|
||||
|
||||
var WEB_DISPLAY_STYLUS_DISTANCE = 0.5;
|
||||
var WEB_DISPLAY_STYLUS_DISTANCE = 0.2;
|
||||
var WEB_STYLUS_LENGTH = 0.2;
|
||||
var WEB_TOUCH_Y_OFFSET = 0.05; // how far forward (or back with a negative number) to slide stylus in hand
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user