mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
Update HarmonyPatches.cs
This commit is contained in:
parent
677684b301
commit
d55099876d
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ internal static class BodySystemPatches
|
||||||
SetPelvisWeight(solver.spine, 0f);
|
SetPelvisWeight(solver.spine, 0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IKFixesMod.EntryUseFakeRootAngle.Value)
|
if (IKFixesMod.EntryUseFakeRootAngle.Value && !BodySystem.isCalibratedAsFullBody)
|
||||||
{
|
{
|
||||||
// Emulate maxRootAngle because CVR doesn't have the player controller set up ideally for VRIK.
|
// Emulate maxRootAngle because CVR doesn't have the player controller set up ideally for VRIK.
|
||||||
// This is a small small fix, but makes it so the feet dont point in the direction of the head
|
// This is a small small fix, but makes it so the feet dont point in the direction of the head
|
||||||
|
@ -108,7 +108,7 @@ internal static class BodySystemPatches
|
||||||
{
|
{
|
||||||
// Allow avatar to rotate seperatly from Player (Desktop&VR)
|
// Allow avatar to rotate seperatly from Player (Desktop&VR)
|
||||||
// FBT needs avatar root to follow head
|
// FBT needs avatar root to follow head
|
||||||
// VR default is 25 degrees
|
// VR default is 25 degrees, but maybe during emotes needs 180 degrees..?
|
||||||
solver.spine.maxRootAngle = BodySystem.isCalibratedAsFullBody ? 0f : 25f;
|
solver.spine.maxRootAngle = BodySystem.isCalibratedAsFullBody ? 0f : 25f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue