Bone headOffset / remove left/right hip

This commit is contained in:
loucass003 committed 2026-09-10 02:32:42 +02:00
1 parent 443cfc118a
commit 6d4fcee967
19 files changed
+203 -175

No files matched your search

@@ -35,6 +35,7 @@ private fun assertApprox(expected: Quaternion, actual: Quaternion, message: Stri
private fun bone(bodyPart: BodyPart, rotation: Quaternion = Quaternion.IDENTITY, headPosition: Vector3 = Vector3.ZERO) = BoneState(
parentBone = null,
bodyPart = bodyPart,
headOffset = Vector3.ZERO,
offset = Vector3(0f, -0.1f, 0f),
rotation = rotation,
acceleration = Vector3.ZERO,
@@ -22,6 +22,7 @@ import kotlin.time.Duration.Companion.seconds
private fun bone(bodyPart: BodyPart, rotation: Quaternion = Quaternion.IDENTITY) = BoneState(
parentBone = null,
bodyPart = bodyPart,
headOffset = Vector3.ZERO,
offset = Vector3(0f, -0.1f, 0f),
rotation = rotation,
acceleration = Vector3.ZERO,