mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 06:49:22 +00:00
33 lines
No EOL
998 B
C#
33 lines
No EOL
998 B
C#
using UnityEngine;
|
|
|
|
namespace NAK.DesktopVRIK.VRIKHelper;
|
|
|
|
public struct VRIKCalibrationData
|
|
{
|
|
public Vector3 KneeNormalLeft;
|
|
public Vector3 KneeNormalRight;
|
|
public Vector3 InitialFootPosLeft;
|
|
public Vector3 InitialFootPosRight;
|
|
public Quaternion InitialFootRotLeft;
|
|
public Quaternion InitialFootRotRight;
|
|
public float InitialHeadHeight;
|
|
public float InitialFootDistance;
|
|
public float InitialStepThreshold;
|
|
public float InitialStepHeight;
|
|
public bool FixTransformsRequired;
|
|
|
|
public void Clear()
|
|
{
|
|
KneeNormalLeft = Vector3.zero;
|
|
KneeNormalRight = Vector3.zero;
|
|
InitialFootPosLeft = Vector3.zero;
|
|
InitialFootPosRight = Vector3.zero;
|
|
InitialFootRotLeft = Quaternion.identity;
|
|
InitialFootRotRight = Quaternion.identity;
|
|
InitialHeadHeight = 0f;
|
|
InitialFootDistance = 0f;
|
|
InitialStepThreshold = 0f;
|
|
InitialStepHeight = 0f;
|
|
FixTransformsRequired = false;
|
|
}
|
|
} |