overte/scripts/system
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
..
assets Added mute to mod.js script 2016-11-11 11:18:24 -08:00
controllers Hand Controller rendering is camera relative 2016-11-17 11:33:12 -08:00
html Fix userData in edit.js sometimes showing wrong value when locked 2016-11-07 11:39:36 -08:00
libraries Hand Controller rendering is camera relative 2016-11-17 11:33:12 -08:00
marketplaces persist tablet data, and clean it up on startup 2016-10-13 16:53:44 -07:00
particle_explorer Fix eventBridgeLoader path in particle explorer 2016-09-15 13:07:00 -07:00
attachedEntitiesManager.js clear dead code 2016-06-08 13:44:53 -07:00
away.js Fix away.js not unsubscribing on shutdown 2016-10-27 11:12:46 -07:00
dialTone.js wrap default scripts with local scope 2016-08-25 08:57:06 -07:00
directory.js removed showButtonDown, which didn't exist 2016-09-06 17:36:55 -07:00
edit.js Fix edit.js not allowing imports when you only have temp rez permissions 2016-10-13 11:51:54 -07:00
firstPersonHMD.js wrap default scripts with local scope 2016-08-25 08:57:06 -07:00
goto.js wrap default scripts with local scope 2016-08-25 08:57:06 -07:00
help.js help script 2016-11-02 16:50:37 -07:00
hmd.js show the hand controllers when in third-person+hmd, but currently, they're 2016-11-14 13:05:35 -08:00
mod.js use for loop for kick and mute overlay cleanup 2016-11-13 12:17:12 -08:00
mute.js wrap default scripts with local scope 2016-08-25 08:57:06 -07:00
notifications.js remove mic and window resize notifications 2016-10-02 09:10:12 -07:00
progress.js Display "content loading" while there are pending GPU texture transfers 2016-11-07 13:40:49 +13:00
selectAudioDevice.js wrap default scripts with local scope 2016-08-25 08:57:06 -07:00
snapshot.js don't use Script.resolvePath() in local functions 2016-08-29 17:11:29 -07:00
users.js Merge pull request #9033 from huffman/fix/usersjs-hide-show-laser 2016-11-10 17:53:17 -08:00
voxels.js