diff --git a/scripts/system/libraries/controllers.js b/scripts/system/libraries/controllers.js index a1318ca47c..9bae46380e 100644 --- a/scripts/system/libraries/controllers.js +++ b/scripts/system/libraries/controllers.js @@ -25,7 +25,7 @@ getGrabPointSphereOffset = function(handController) { }; }; -// controllerLocation is where the controller would be, in-world. +// controllerWorldLocation is where the controller would be, in-world, with an added offset getControllerWorldLocation = function (handController, doOffset) { var orientation; var position; diff --git a/scripts/system/mod.js b/scripts/system/mod.js index 4db1576168..1a7b3b401e 100644 --- a/scripts/system/mod.js +++ b/scripts/system/mod.js @@ -15,6 +15,8 @@ (function() { // BEGIN LOCAL_SCOPE +Script.include("/~/system/libraries/controllers.js"); + // grab the toolbar var toolbar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");