overte-JulianGro/scripts/system/controllers
Anthony J. Thibault 38ac6fff03 Hand Controller rendering is camera relative
Basically, when using the third person camera in HMD mode.  If the controllers are shown.
They should be shown in front of the users camera, not in front of the users avatar.

To accomplish this, two new faux joint indices are introduced.
CAMERA_RELATIVE_CONTROLLER_RIGHTHAND_INDEX and CAMERA_RELATIVE_CONTROLLER_LEFTHAND_INDEX.

These joint indices can be used for Overlay parenting. (But not for entity parenting because they are not transmitted over the network).
They can also be queried for by using the MyAvatar.getAbsoluteJointRotationInObjectFrame() call.

These new indices are now used by the controllerDisplay.js for the hand controller rendering.
They are also used by system/libraries/controllers.js as the origin for hand controller grabbing and interaction lasers.
2016-11-17 11:33:12 -08:00
..
controllerDisplay.js Collapse multiline dict to one line in controllerDisplay 2016-10-27 15:16:38 -07:00
controllerDisplayManager.js Remove annotation API from controller display 2016-10-27 14:58:20 -07:00
grab.js don't use globals and remove double definitions 2016-08-25 08:57:06 -07:00
handControllerGrab.js cleanup 2016-10-24 15:03:41 -07:00
handControllerPointer.js make hand-controller ui work in third person 2016-11-11 11:10:42 -08:00
leapHands.js leap 2016-06-03 15:40:04 -07:00
squeezeHands.js wrap default scripts with local scope 2016-08-25 08:57:06 -07:00
teleport.js better handling of the teleport target overlays to prevent flashing and thrashing 2016-10-13 18:24:38 -07:00
toggleAdvancedMovementForHandControllers.js Fix advanced movement being disabled 2016-10-07 10:30:18 -07:00
viveControllerConfiguration.js Hand Controller rendering is camera relative 2016-11-17 11:33:12 -08:00