History

Lasers and teleport scale with avatar

luiscuenca committed 9 years ago

Commit 332cb481 parent d5eb67018 files · +59 −18Browse files

Showing the changes to scripts/system/controllers/controllerModules/webEntityLaserInput.js (1 of 18 files). Show all

Unified · Split

scripts/system/controllers/controllerModules/webEntityLaserInput.js+1−1
@@ -88,7 +88,6 @@ Script.include("/~/system/libraries/controllers.js"); · 87 unmodified lines
88 {name: "hold", distance: DEFAULT_SEARCH_SPHERE_DISTANCE, path: holdPath}88 {name: "hold", distance: DEFAULT_SEARCH_SPHERE_DISTANCE, path: holdPath}
89 ];89 ];
90 90
91
92 // triggered when stylus presses a web overlay/entity91 // triggered when stylus presses a web overlay/entity
93 var HAPTIC_STYLUS_STRENGTH = 1.0;92 var HAPTIC_STYLUS_STRENGTH = 1.0;
94 var HAPTIC_STYLUS_DURATION = 20.0;93 var HAPTIC_STYLUS_DURATION = 20.0;
@@ -452,6 +451,7 @@ Script.include("/~/system/libraries/controllers.js"); · 357 unmodified lines
452 posOffset: getGrabPointSphereOffset(this.handToController(), true),451 posOffset: getGrabPointSphereOffset(this.handToController(), true),
453 renderStates: renderStates,452 renderStates: renderStates,
454 faceAvatar: true,453 faceAvatar: true,
454 scaleWithAvatar: true,
455 defaultRenderStates: defaultRenderStates455 defaultRenderStates: defaultRenderStates
456 });456 });
457 }457 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t