Potential fix for smoothing causing centaur

This commit is contained in:
Erimel committed 2026-09-10 19:03:28 -04:00
1 parent 28eb411ecb
commit 28efcda839
1 file changed
+1 -1
@@ -49,7 +49,7 @@ class SmoothingInputProcessor(val settings: Settings) :
if (!bone.isRotationActive) return@forEachBone
val prev = smoothed[bodyPart] ?: bone.rotation
val rotation = prev.lerpR(bone.rotation, alpha).unit()
val rotation = prev.lerpQ(bone.rotation, alpha).unit()
newSmoothed[bodyPart] = rotation
if (rotation != bone.rotation) mutableInputSkeleton[bodyPart] = bone.copy(rotation = rotation)
}