mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[AlternateIKSystem] Slight cleanup of BodyControls
This commit is contained in:
parent
16e44f7c35
commit
684b330a4c
4 changed files with 71 additions and 65 deletions
|
@ -124,7 +124,7 @@ internal class IKHandlerDesktop : IKHandler
|
|||
{
|
||||
// Lerp locomotion weight, lerp to BodyControl.TrackingUpright???
|
||||
float targetWeight =
|
||||
(BodyControl.TrackingAll && BodyControl.TrackingLocomotion && BodyControl.TrackingUpright > 0.8f)
|
||||
(BodyControl.TrackingAll && BodyControl.TrackingLocomotion && BodyControl.AvatarUpright > 0.8f)
|
||||
? 1f
|
||||
: 0.0f;
|
||||
_locomotionWeight = Mathf.Lerp(_locomotionWeight, targetWeight, Time.deltaTime * 20f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue