mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
testing
This commit is contained in:
parent
da42d3da57
commit
8f4d146ba0
2 changed files with 104 additions and 101 deletions
|
@ -83,7 +83,7 @@ public class DesktopVRIK : MonoBehaviour
|
|||
|
||||
IKSystem.vrik.fixTransforms = false;
|
||||
IKSystem.vrik.solver.plantFeet = false;
|
||||
IKSystem.vrik.solver.locomotion.weight = 0f;
|
||||
IKSystem.vrik.solver.locomotion.weight = 1f;
|
||||
IKSystem.vrik.solver.locomotion.angleThreshold = 30f;
|
||||
IKSystem.vrik.solver.locomotion.maxLegStretch = 0.75f;
|
||||
//nuke weights
|
||||
|
@ -141,6 +141,7 @@ public class DesktopVRIK : MonoBehaviour
|
|||
|
||||
avatar.transform.rotation = originalRotation;
|
||||
IKSystem.Instance.ResetIK();
|
||||
IKSystem.Instance.animator.enabled = true;
|
||||
}
|
||||
|
||||
//This is built because original build placed IK Targets on all joints.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue