DouglasWilcox
f9f28fc286
Handle HMD in input vars and remove/fix json transitions in/out of HMD strafe states.
2019-11-12 14:15:19 -08:00
dooglifeSF
055d5cdf9b
Simplify boolean statements, revise several settle anims
2019-11-08 13:46:38 -08:00
dooglifeSF
8e11d91c03
Merge branch 'master' into rand_settles_and_by_momentum
2019-11-07 15:09:10 -08:00
dooglifeSF
73202b9caf
Different settle transition depending on momentum
2019-11-07 09:52:26 -08:00
Anthony J. Thibault
6e7f222608
Fix for assert in AnimBlendDirectional on startup
...
Specifically, std::vector subscript out of range.
2019-11-05 14:16:10 -08:00
Oren Hurvitz
70c3bb2748
Emit an event when failing to load an avatar.
...
Previously, MyAvatar only emitted an event (onLoadComplete) if the load succeeded.
Now it also emits an event (onLoadFailed) if the load failed.
2019-10-27 10:55:31 +02:00
Shannon Romano
71ef645781
Merge pull request #16351 from dooglifeSF/transition-locomotion-to-idle-based-on-input-and-speed
...
Fix sliding when stopping from run.
2019-10-16 09:03:00 -07:00
dooglifeSF
0510215240
Move magic number to constant for SLOW_SPEED_THRESHOLD.
2019-10-15 17:48:06 -07:00
Anthony J. Thibault
14e5962675
Bugfix for legacy sit scripts
...
Don't return additive clip nodes as valid "roles" for users to override.
2019-10-15 15:29:24 -07:00
dooglifeSF
a043f0a17e
Create isNotInputSlow var for stategraph switch when no input and speed less than 1.5 m/s
2019-10-15 14:51:42 -07:00
dooglifeSF
85b681e70e
switch abs() to fabsf()
2019-10-09 11:07:14 -07:00
dooglifeSF
2a1258968a
Change macro to const float, use floats in control flow.
2019-10-09 10:10:45 -07:00
dooglifeSF
8a262a3d1a
Merge branch 'master' into drivekey_anim_triggers
2019-10-09 07:37:38 -07:00
dooglifeSF
cfa7df7d1a
Refactor the if-logic to remove complexity
2019-10-08 16:14:21 -07:00
dooglifeSF
2626f85f49
Handle multiple inputs, bias towards inputZ instead of inputX, and add a deadzone that matches xbox controller analog deadzone
2019-10-08 15:44:06 -07:00
David Rowe
1106d8fdfa
Doc review
2019-10-08 21:15:16 +13:00
David Rowe
f224832d27
Merge branch 'master' into DOC-111
2019-10-08 20:44:13 +13:00
dooglifeSF
387f0a3f10
add isInput* and isNotInput vars for use in json, and edit json to use them
2019-10-04 15:28:35 -07:00
Anthony J. Thibault
1068637d39
Fix for avatars that are stuck in idle pose for observers
...
The problem can occur because the default constructor for the NetworkAnimState does not initialize the blendTime member.
This can cause the avatar to remain stuck in an idle pose for observers when blendTime happens to be randomly initialzied to a large negative floating point value.
To fix this we explicitly initialize it to FLT_MAX.
Additionally, a debug print has been added to help diagnose this issue if it occurs again.
2019-10-01 14:28:10 -07:00
David Rowe
605d272392
Merge branch 'master' into DOC-111
2019-09-20 10:25:21 +12:00
luiscuenca
279e25ca70
Merge master
2019-09-19 13:21:49 -07:00
David Rowe
d5e08d19e3
Fix JSDoc for miscellaneous white space issues
2019-09-20 08:17:24 +12:00
luiscuenca
6d98537a20
Clean up code and refactor avatar-animation.json
2019-09-19 10:45:20 -07:00
Shannon Romano
a5fdf5bb40
Merge pull request #16214 from hyperlogic/bug-fix/additive-blend-scale-fix
...
Fix additive blending on avatars with non identity scale.
2019-09-19 09:04:28 -07:00
Anthony J. Thibault
41978aa4a4
Fix additive blending on avatars with non identity scale.
...
Some avatars that have non 1.0 scale values were incorrectly being scaled during additive blends, this fixes that.
2019-09-18 14:42:57 -07:00
Seth Alves
7fa24efca0
add a way to query Rig to see if a joint has been overridden by a script
2019-09-17 09:43:20 -07:00
David Rowe
dff37a71eb
Fix JSDoc markup HTML issues
2019-09-17 16:26:09 +12:00
luiscuenca
3c043309be
Detect HMD mode properly from rig, in order to enable head IK
2019-09-12 14:03:17 -07:00
luiscuenca
7c7c3cd223
merge master
2019-09-11 14:07:19 -07:00
Shannon Romano
e1dac580b6
Merge pull request #16121 from luiscuenca/audioPosesSyncFix
...
BUGZ-1234: Mitigate the effect of audio noise on talking animations
2019-09-09 10:37:07 -07:00
luiscuenca
0e4e09acb5
Add blending
2019-09-06 14:30:10 -07:00
Anthony J. Thibault
aa848df227
warning fixes
2019-09-05 17:43:07 -07:00
Anthony J. Thibault
c35640f739
Warning fixes and small bug fix to anim stats
2019-09-05 14:54:19 -07:00
Anthony J. Thibault
29de8a8d9f
remove ajt comment
2019-09-05 11:11:10 -07:00
Anthony J. Thibault
b6f28a6732
Switch additive animation deltas from a pre multiply to a post multiply.
2019-09-05 11:09:03 -07:00
Anthony J. Thibault
92df5cccdc
AnimBlendDirectional node
2019-09-05 11:09:02 -07:00
Anthony J. Thibault
6274ab4aa7
3x3 blend wip
2019-09-05 11:09:00 -07:00
Shannon Romano
96f6793a87
Merge pull request #16118 from hyperlogic/feature/aim-offset-blend
...
Additive animation support
2019-09-04 16:55:50 -07:00
Anthony J. Thibault
c814176d6a
Fix initialization order of members warning
2019-08-29 16:16:19 -07:00
luiscuenca
265b6f57a1
Try to mitigate the effect of background mic noise when simulating talking
2019-08-29 15:19:17 -07:00
Anthony J. Thibault
52ed0bcb71
additive blending work
2019-08-29 10:17:51 -07:00
Anthony J. Thibault
16a20a5ead
AddAbsolute now works! added blendType to AnimClip
2019-08-28 18:19:35 -07:00
Anthony J. Thibault
adda7774d3
WIP checkpoint addAbsolute still broken
2019-08-28 14:08:21 -07:00
Seth Alves
f331b76c51
apply fake eye saccades if eye joints aren't overridden (rather than if HasProceduralEyeFaceMovement is true)
2019-08-27 16:59:31 -07:00
Seth Alves
1979e1dbc7
apply fake eye saccades if eye joints aren't overridden (rather than if HasProceduralEyeFaceMovement is true)
2019-08-27 16:47:01 -07:00
luiscuenca
55b54b02a0
Restate evaluation count on AnimContext
2019-08-27 10:59:03 -07:00
luiscuenca
acbeb326a7
Set activation when switching random states
2019-08-27 10:57:22 -07:00
luiscuenca
7f1f6dba31
Implement activation on nodes and use it to trigger random states
2019-08-27 10:25:35 -07:00
Anthony J. Thibault
ed3ba876a8
AddRelative blending support (Absolute is still not working)
2019-08-26 17:02:15 -07:00
Anthony J. Thibault
f1afc9e873
Bug fix & rename isRelative to relativeFlag
2019-08-23 08:46:14 -07:00