mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 03:46:28 -08:00
Bone headOffset / remove left/right hip
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user