diff --git a/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/acceleration-fallback.kt b/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/acceleration-fallback.kt index 7776e39f1..dd42ffe9a 100644 --- a/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/acceleration-fallback.kt +++ b/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/acceleration-fallback.kt @@ -11,6 +11,7 @@ import kotlin.collections.set * Handles replacing accelerations of boneInputs that are not actively receiving any by * falling back to their parent's, or child's, acceleration. */ +// TODO merge this with BoneYawFallbackInputProcessor class AccelerationFallbackInputProcessor : SkeletonInputProcessor { override fun process(mutableInputSkeleton: InputSkeleton, skeletonHeight: Float) { val processedParts: MutableSet = mutableSetOf() diff --git a/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/bone-yaw-fallback.kt b/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/bone-yaw-fallback.kt index e8ae8285c..6b213abd2 100644 --- a/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/bone-yaw-fallback.kt +++ b/server/core/src/main/java/dev/slimevr/skeleton/inputprocessors/bone-yaw-fallback.kt @@ -12,6 +12,8 @@ import kotlin.collections.set * falling back to their parent's, then children's, yaw. */ class BoneYawFallbackInputProcessor : SkeletonInputProcessor { + // TODO add logic to prevent the head from taking the fingers' yaw. Same with acceleration fallback processor. + // (Head taking spine yaw is fine. No taking arm yaw, and probably no legs. Maybe other cases) override fun process(mutableInputSkeleton: InputSkeleton, skeletonHeight: Float) { val processedParts: MutableSet = mutableSetOf() mutableInputSkeleton.forEachBone { parentPart, parentBone ->