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
8888 {name: "hold", distance: DEFAULT_SEARCH_SPHERE_DISTANCE, path: holdPath}
8989 ];
9090
91−
9291 // triggered when stylus presses a web overlay/entity
9392 var HAPTIC_STYLUS_STRENGTH = 1.0;
9493 var HAPTIC_STYLUS_DURATION = 20.0;
@@ -452,6 +451,7 @@ Script.include("/~/system/libraries/controllers.js"); · 357 unmodified lines
452451 posOffset: getGrabPointSphereOffset(this.handToController(), true),
453452 renderStates: renderStates,
454453 faceAvatar: true,
454+ scaleWithAvatar: true,
455455 defaultRenderStates: defaultRenderStates
456456 });
457457 }

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