luiscuenca
d09391faa5
Fix invisible error
2018-09-07 12:17:40 -07:00
luiscuenca
02065518cb
Merge branch 'master' of https://github.com/highfidelity/hifi into stt_teleport_wip
2018-09-07 11:57:48 -07:00
amantley
90a51e6181
added walk velocity threshold, this determines if we are in the walk state. when we are then we don't do cg leaning calculation. this will smooth out the walking in a large tracked area
2018-09-06 13:12:48 -07:00
amantley
6fb335429d
starting to re-implement the walking state detection for smoothwalking
2018-09-05 17:55:27 -07:00
luiscuenca
abb632afda
Update capsule when scale/load and teleport without safe landing
2018-09-05 16:51:34 -07:00
amantley
73e628bb8d
merge with master fixes
2018-09-05 14:42:49 -07:00
Anthony Thibault
b21fa1037f
Code review feedback and bug fixes for calibraiton matrices
2018-09-04 11:55:52 -07:00
Anthony Thibault
3a034fdf66
HMD mode bug fix for avatars with no eyes
...
Previously getCenterEyeCalibrationMat() would return the average eye position for an avatar, if the eyes are missing.
Now we fall back to using the HeadCalibrationMat() and adding an offset from the head to the center of the eyes.
This is more accurate for characters that don't quite have human proportions.
2018-09-04 10:13:57 -07:00
Anthony Thibault
78d7c321b8
Merge pull request #13796 from amantley/noNeckFix
...
Avatar without Neck Joint bug 14620
2018-08-30 14:52:44 -07:00
John Conklin II
8fa4a2855e
Merge pull request #13641 from amantley/rotateFilterChange
...
Hand Azimuth Controls Shoulder Rotation
2018-08-30 13:59:00 -07:00
Stephen Birarda
aaf5f593c5
send MyAvatar avatar entity updates through entity tree
2018-08-29 16:30:24 -07:00
Angus Antley
f7d0cdda02
added a check for whether the head to shoulder azimuth is greater than 100 degrees. If so unflip the chest azimuth
2018-08-29 20:44:21 +01:00
Angus Antley
ee33f5dc97
normalize the hip hand vector in getSpine2RotationRigSpace, made computeHandAzimuth a const function that returns a vec2
2018-08-29 01:57:49 +01:00
amantley
3c792a04c1
fixed roll rotation added to azimuth in MySkeletonModel.cpp
2018-08-28 11:25:42 -07:00
amantley
89b508251e
added some comment to explain rig to avatar transform
2018-08-27 17:57:50 -07:00
amantley
055f03878e
made changes to add roll to the spine2 rotation. also only the shoulders control the rotation recenter now
2018-08-27 14:44:27 -07:00
amantley
8406fb2359
Merge remote-tracking branch 'upstream/master' into steppingReboot
2018-08-24 16:48:26 -07:00
amantley
dd8a00983c
Merge remote-tracking branch 'upstream/master' into rotateFilterChange
2018-08-24 16:29:20 -07:00
amantley
2bec867863
added the sanity check to see if the shoulders have flipped
2018-08-24 16:29:08 -07:00
amantley
a60ab863a3
demo version of the head and hands determining the rotate function
2018-08-24 11:06:36 -07:00
Angus Antley
25610c7587
got the hands turning the shoulders, needs error checking
2018-08-24 11:04:36 +01:00
Angus Antley
44a6c7df5f
added hook to myskeleton model to update spine2, need to get the rotation from myavatar then we have spine rot
2018-08-24 07:17:17 +01:00
amantley
0e0561bb24
latest rotate code
2018-08-23 17:59:18 -07:00
John Conklin II
1320a34a18
Merge pull request #13841 from luiscuenca/noAttachmentsToJSON
...
Don't include old attachment data on new avatar recordings
2018-08-23 10:51:33 -07:00
Angus Antley
30ef544c6d
starting the c++ version of shoulder rotation
2018-08-23 15:57:14 +01:00
Wayne Chen
9518b8cdaf
rearrangement
2018-08-22 15:46:02 -07:00
Wayne Chen
c32cc1ead2
adding implementation
2018-08-22 15:42:15 -07:00
luiscuenca
b3d127c953
Fix flickering
2018-08-22 14:31:34 -07:00
amantley
9dfaf32b72
fixed the step animation but it still needs work
2018-08-22 14:12:19 -07:00
amantley
2dd812935f
Merge remote-tracking branch 'upstream/master' into rotateFilterChange
2018-08-22 12:57:16 -07:00
amantley
1e3ca6f902
added quicker follow code and added head to rotate calculation
2018-08-22 12:57:06 -07:00
amantley
456b8bf2a9
tweaked the animvars callback to update the spine2 position
2018-08-22 09:36:52 -07:00
luiscuenca
5f4903f884
Record entities
2018-08-22 08:53:51 -07:00
amantley
1fabc77244
latest update to stop lurching, and allow leaning, and stop perma leans
2018-08-21 12:34:05 -07:00
Stephen Birarda
1723f3d3d8
don't use entity tree to clear all avatar entities
2018-08-21 12:21:29 -07:00
Stephen Birarda
a177e49877
Revert "send attachment clears through setAvatarEntityData"
...
This reverts commit 25876bca63
.
2018-08-21 12:18:11 -07:00
Stephen Birarda
25876bca63
send attachment clears through setAvatarEntityData
2018-08-21 10:32:05 -07:00
Stephen Birarda
e33f349d53
fix flagging for avatar entity update/delete
2018-08-21 10:32:05 -07:00
Stephen Birarda
ea7c0e923a
make client traits handler a unique ptr in AvatarData
2018-08-21 10:31:15 -07:00
Stephen Birarda
a0df68f32f
move skeleton model URL emit to AvatarData
2018-08-21 10:31:14 -07:00
Stephen Birarda
a80d19a44a
remove skeleton from identity, handle in clients
2018-08-21 10:31:14 -07:00
Stephen Birarda
ac835650b7
add skeleton trait sending to Agent, queuing in AvatarMixer
2018-08-21 10:31:14 -07:00
Stephen Birarda
486557e28a
initial trait packet sending on skeleton URL change
2018-08-21 10:31:14 -07:00
amantley
2dcdd60750
added new AvatarConstants and more frequent horizontal recentering to deal with lurching walk in large tracked volumes
2018-08-20 17:32:52 -07:00
amantley
baa17395f0
Merge remote-tracking branch 'upstream/master' into rotateFilterChange
2018-08-20 16:47:21 -07:00
amantley
94026fb4dd
added activate(rotation) to prephysics update
2018-08-20 16:47:14 -07:00
amantley
471bb28545
Merge remote-tracking branch 'upstream/master' into steppingReboot
2018-08-20 09:50:45 -07:00
John Conklin II
1edf1b4337
Merge pull request #13555 from SamGondelman/destroy
...
Trying to fix dependency shutdown
2018-08-16 13:14:58 -07:00
Seth Alves
527b27da96
pseudo-joints for far-grab positions
2018-08-14 08:55:20 -07:00
Seth Alves
0a5c96ecc1
Merge pull request #13792 from luiscuenca/attachmentsAPImgr
...
Attachments API returns avatar entities
2018-08-13 14:21:13 -07:00
amantley
c2612af7a8
changed the spine stretch limit, will check the scale implications next
2018-08-10 17:10:33 -07:00
luiscuenca
dd93055d89
Convert and load attachments when rig is ready
2018-08-10 16:15:30 -07:00
John Conklin II
644ff1eafa
Merge pull request #13655 from amantley/animationBlendChanges
...
New Default Strafe Animations Plus Animation Tuning Support
2018-08-10 15:03:30 -07:00
amantley
f26d6b8c3d
cleaned up code and changed the forward offset for the default eyes when there is no neck bone
2018-08-09 12:15:35 -07:00
luiscuenca
9ca0ee05dc
Fix wanings
2018-08-09 12:13:03 -07:00
amantley
a3f2fd1f23
removed some print statements and added the code to use the head parent when the neck is missing, this allows for cauterization
2018-08-09 11:33:27 -07:00
luiscuenca
8c121a531d
Turn attachments into avatar entities
2018-08-09 10:35:15 -07:00
amantley
c774dd7f5b
debugging to solve the no-neck crazy scale problem
2018-08-08 17:52:22 -07:00
r3tk0n
32165dff40
Fixed rotations in MyAvatar::goToFeetLocation()
2018-08-07 14:31:48 -07:00
amantley
1353406254
more whitespace
2018-08-07 12:56:28 -07:00
amantley
84619e7adc
cleaned up to match coding standards
2018-08-07 10:40:11 -07:00
MuteTab
b590ff793a
New function for changing location in domains such that the AVatar's leg-length is taken into account.
2018-08-06 20:26:44 -07:00
amantley
1ad6b041cd
updated the elipes equation code for determining the forward speed of the avatar. We can now set the max forward == walkSpeed, max side and backwards == walkBackwardsSpeed and the sprint speed == sprintSpeed
2018-08-06 18:36:32 -07:00
Sam Gondelman
2edefe3209
Merge branch 'master' into destroy
2018-08-06 09:51:14 -07:00
amantley
08889b627a
Merge remote-tracking branch 'upstream/master' into animationBlendChanges
2018-08-06 09:16:53 -07:00
Dante Ruiz
f30b552e19
fix-flying
2018-08-03 15:50:11 -07:00
amantley
bd88d5f15b
merging with ik leg fix code in master
2018-08-02 09:48:04 -07:00
amantley
6b2c67e5bd
more doug support
2018-08-01 18:22:51 -07:00
SamGondelman
8a9c27ed92
Merge remote-tracking branch 'upstream/master' into destroy
2018-08-01 16:07:48 -07:00
amantley
02dd2f4f28
added velocity scaling for forward and back
2018-07-31 18:26:44 -07:00
John Conklin II
16940cc9b7
Merge pull request #13716 from r3tk0n/17170-flying-crash
...
Remove deprecated flying setting from MyAvatar.cpp saveData()
2018-07-31 09:48:01 -07:00
John Conklin II
bd2ab38bfe
Merge pull request #13701 from ElderOrb/FB16702
...
FB16702 - Avatar App does not save Animation JSON Override URL
2018-07-30 14:51:32 -07:00
r3tk0n
63de16bac5
Remove deprecated flying setting from MyAvatar.cpp saveData()
2018-07-30 11:40:15 -07:00
John Conklin II
021e09d083
Merge pull request #13708 from sethalves/fix-grab-entity-w-child-overlay-crash
...
fix a crash when grabbing a non-dynamic entity with an overlay child
2018-07-27 12:49:14 -07:00
John Conklin II
d4cbbfe4c1
Merge pull request #13692 from amantley/leanBackSittingFix
...
Fix For Unnatural Hips Behaviour When Sitting In HMD
2018-07-27 12:30:31 -07:00
Seth Alves
91d509f5a4
fix a crash when grabbing a non-dynamic entity with an overlay child
2018-07-27 10:35:26 -07:00
Alexander Ivash
29f7cab7df
FB16702 - Avatar App does not save Animation JSON Override URL
...
note: PR also changes logic of 'hint' - previously it showed hard-coded senseless text, now - current value of 'animation URL'
2018-07-27 02:08:44 +03:00
r3tk0n
f3d0d9b4a0
Clean up garbage comments.
2018-07-26 15:37:42 -07:00
r3tk0n
f8c611b1d0
Divorce HMD and Desktop flying settings, implement setters and getters, change loadData and saveData in MyAvatar.cpp
2018-07-26 15:35:12 -07:00
amantley
12cb212dc7
used avatar constants from AvatarConstants.h to initialize tpposehips and tposerightfoot, and added space between multiplication to meet coding standards
2018-07-26 12:05:17 -07:00
amantley
37540c79b3
removed print statement and added const upper leg fraction
2018-07-25 10:51:19 -07:00
amantley
c5599623f7
added a reset when the hips go below 1/3 of the default avatar height of the hips also reset the vertical this prevents real life sitting
2018-07-25 10:29:29 -07:00
John Conklin II
2ac9463830
Merge pull request #13653 from ElderOrb/fake-wearables-fix
...
FB16870: Avatar Wearables showing incorrect number
2018-07-23 15:55:11 -07:00
Alexander Ivash
33c858774b
fix coding standard compliance
2018-07-23 21:01:43 +03:00
r3tk0n
bc91affa70
Bring this PR inline with RC70.1 PR.
2018-07-20 15:13:44 -07:00
Alexander Ivash
849c91d8f6
remove not necessary EntityTreeRenderer from removeAvatarEntities's condition
2018-07-20 19:32:58 +03:00
Alexander Ivash
fb8640de47
FB16870: Avatar Wearables showing incorrect number
2018-07-20 02:51:17 +03:00
MuteTab
dfcf47e8ee
Removed useless comment.
2018-07-19 14:44:32 -07:00
MuteTab
8d65e14193
Remove one change, turned out to be unnecessary.
2018-07-19 14:43:46 -07:00
MuteTab
3080539b63
Make getFlyingEnabled() always true when in desktop.
2018-07-19 14:40:20 -07:00
amantley
5ec7ab3a7d
removed the other way of computing the average lookat which used a ring buffer
2018-07-18 17:20:47 -07:00
amantley
a8c4f4e650
removed extra whitespace
2018-07-18 17:10:09 -07:00
amantley
7cc724a27b
added properties to allow the toggling of the debug draw the look at vector, and the reset moving average look at on step detection
2018-07-18 17:08:04 -07:00
amantley
ef2d3c9f16
Merge remote-tracking branch 'upstream/master' into rotateFilterChange
...
synching with master
2018-07-18 09:00:18 -07:00
Qliemillar
080d664341
Merge pull request #13619 from luiscuenca/handTouchDisabler
...
Allow creators to disable hand touch from javascript
2018-07-18 08:16:37 -06:00
amantley
33f9acde67
latest
2018-07-17 17:42:11 -07:00
luiscuenca
e3594fe1b7
mutex added
2018-07-17 17:23:03 -07:00
luiscuenca
fcb7614f7e
Format and fixes
2018-07-17 16:34:30 -07:00
luiscuenca
82a3b73de8
Added disable hand touch for entityID
2018-07-17 07:06:48 -07:00
luiscuenca
84dac94379
Allow creator to disable hand touch
2018-07-16 17:03:50 -07:00