Commit graph

26 commits

Author SHA1 Message Date
Howard Stearns
e4f8a67e60 Merge pull request #7649 from hyperlogic/tony/simplify-away-mode
away.js: fix for permanent disabling avatar IK
2016-04-15 13:35:14 -07:00
Seth Alves
31270ebe6e clear away-ness if the avatar walks a certain distance 2016-04-14 16:03:22 -07:00
Anthony J. Thibault
87cba810a7 remove away states from avatar-animation.json
away.js: prefetch the kneel animation, so it is available when we need it.
2016-04-12 15:37:31 -07:00
Anthony J. Thibault
8d7bf87d74 away.js: simplify kneel animation handling
Instead of manually setting anim vars to play the kneel animation
and enable/disable IK, use the MyAvatar.overrideAnimation() and
MyAvatar.restoreAnimtion() functions, which did not exist when
away.js was written.  This should make it more robust and eliminate
the issue with IK being stuck in the disabled state.
2016-04-12 14:52:22 -07:00
Brad Hefta-Gaub
6083706151 CR feedback 2016-03-11 16:47:16 -08:00
Brad Hefta-Gaub
e341419090 enter away mode when you remove the Vive HMD 2016-03-11 11:56:39 -08:00
Brad Hefta-Gaub
d32611a7f9 make away show overlays if they are hidden when you enter away 2016-03-11 11:45:52 -08:00
Brad Hefta-Gaub
77b371e375 fix away state when starting in HMD 2016-03-01 15:00:19 -08:00
Brad Hefta-Gaub
ba7b5c6e23 some improvements 2016-03-01 10:43:49 -08:00
Brad Hefta-Gaub
52c38e56a4 make the HMD away overlay 3d 2016-02-29 21:25:25 -08:00
Brad Hefta-Gaub
501d23021f slight improvement to Away to have the paused overlay follow your view in HMD 2016-02-29 20:53:18 -08:00
Brad Hefta-Gaub
2c3fdc995f Away improvements 2016-02-29 20:23:06 -08:00
Brad Hefta-Gaub
cbe80bffd6 go into away mode if you the HMD loses mouse capture 2016-02-21 12:57:14 -08:00
howard-stearns
7c4e31687c simpler/better/more reliable (peek) 2016-02-11 13:27:56 -08:00
howard-stearns
0d8404e7e8 interact more safely with mappings 2016-02-11 13:05:47 -08:00
howard-stearns
a2ca0e8470 initial exploration 2016-02-10 17:01:11 -08:00
Howard Stearns
a117e73ea4 Update away.js to use an image instead of text. 2016-01-29 11:56:08 -08:00
Howard Stearns
dfec222c81 Report animation triggers to normal javascript animationStateHandlers, and update away.js as an example. 2015-12-10 20:39:01 -08:00
Howard Stearns
8f65ee87bc Clean up script, go away when putting HMD (not just on startup), and clear stopper properly. 2015-11-05 13:19:29 -08:00
Howard Stearns
4fd2027fb4 change name 2015-11-04 11:42:21 -08:00
Howard Stearns
3fdd7ca470 obscure the code and increase the likelihood of future whitespace-only diffs 2015-11-04 10:57:03 -08:00
Howard Stearns
883f9c09bf add gratuitous whitespace 2015-11-04 10:49:12 -08:00
Howard Stearns
fe12891f61 whitespace only 2015-11-04 10:48:02 -08:00
howard-stearns
4bf9861350 Forgot license header. 2015-11-03 15:36:02 -08:00
howard-stearns
fb4174b9a2 Control alphaVar, and deal with overlapping cycles. 2015-11-03 13:11:31 -08:00
Howard Stearns
1b7ed3d847 away script 2015-11-02 20:40:40 -08:00