mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 14:59:23 +00:00
[AlternateIKSystem] Initial commit - Testing
shit this out in a day, going to see how much i can do before exploding
This commit is contained in:
parent
fca0a32257
commit
e925b0cfcc
16 changed files with 1367 additions and 0 deletions
31
AlternateIKSystem/IK/VRIKHelpers/VRIKCalibrationData.cs
Normal file
31
AlternateIKSystem/IK/VRIKHelpers/VRIKCalibrationData.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace NAK.AlternateIKSystem.VRIKHelpers;
|
||||
|
||||
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 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue