overte-HifiExperiments/scripts/system/libraries
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
..
controllers.js Hand Controller rendering is camera relative 2016-11-17 11:33:12 -08:00
dataViewHelpers.js move default to system 2016-04-26 14:47:02 -07:00
entityCameraTool.js coding standard fun 2016-06-24 16:23:15 -07:00
entityList.js Use findInFrustum in entities list and filter results per search radius 2016-09-09 18:58:38 +12:00
entitySelectionTool.js edit.js: Fix for picking and manipulating objects via hand controllers. 2016-10-20 13:37:31 -07:00
globals.js move default to system 2016-04-26 14:47:02 -07:00
gridTool.js move default to system 2016-04-26 14:47:02 -07:00
lightOverlayManager.js move default to system 2016-04-26 14:47:02 -07:00
overlayUtils.js move default to system 2016-04-26 14:47:02 -07:00
progressDialog.js move default to system 2016-04-26 14:47:02 -07:00
soundArray.js move default to system 2016-04-26 14:47:02 -07:00
stringHelpers.js move default to system 2016-04-26 14:47:02 -07:00
toolBars.js removed showButtonDown, which didn't exist 2016-09-06 17:36:55 -07:00
ToolTip.js move default to system 2016-04-26 14:47:02 -07:00
Trigger.js Make hand pointer lasers 'click' on fully pressing and clicking the vive controller 2016-07-14 10:30:35 -07:00
utils.js iterate over hotspots not entities. 2016-06-29 13:53:07 -07:00
WebTablet.js persist tablet data, and clean it up on startup 2016-10-13 16:53:44 -07:00
Xform.js WIP, equip-points work but they don't use the proper attach point. 2016-06-29 13:53:06 -07:00