Features merge from experimental:

Settings rework
Finger tracking networks sync only if hands are tracked
Working fix for animator override controller
Mass center offset calculations
Steps scaling
This commit is contained in:
SDraw 2023-03-16 09:20:45 +03:00
parent 8338fb758a
commit 971466da24
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
13 changed files with 474 additions and 451 deletions

View file

@ -32,6 +32,7 @@ namespace ml_pam
Matrix4x4 m_offset = Matrix4x4.identity;
bool m_targetActive = false;
// Unity events
void Start()
{
m_inVR = Utils.IsInVR();
@ -67,6 +68,7 @@ namespace ml_pam
}
}
// IK updates
void OnIKPreUpdate()
{
m_armWeight.Set(m_vrIK.solver.rightArm.positionWeight, m_vrIK.solver.rightArm.rotationWeight);