From 28efcda839c38d26c0cb9aeeaecda0080fd9fe7c Mon Sep 17 00:00:00 2001 From: Erimel Date: Thu, 10 Sep 2026 19:03:28 -0400 Subject: [PATCH] Potential fix for smoothing causing centaur --- .../main/java/dev/slimevr/skeleton/inputprocessors/smoothing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/smoothing.kt b/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/smoothing.kt index e46b61e4e..eb4eecca7 100644 --- a/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/smoothing.kt +++ b/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/smoothing.kt @@ -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) }