Apply GLB part translation and rotation

This commit is contained in:
2026-09-21 06:47:37 +08:00
parent 70229a8d1f
commit 63f726dc32
11 changed files with 98 additions and 63 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -8,6 +8,7 @@
"sha256": "bf37130681cc6462412e52744519516e8ade2a3212dd69153c0b1b3e415bcf66"
},
"checks": [
"part translation and rotation inputs update the selected GLB assembly root",
"selected MILL700 joint displays its local XYZ coordinate system at local origin",
"existing 132-node, depth-6 hierarchy displayed as a draggable tree with node origins",
"each joint rotates about its own origin while children inherit parent motion",
@@ -33,26 +34,26 @@
"baseline": {
"base": {
"local": [
0,
0.12,
0,
0
],
"localQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199334
],
"world": [
0,
0.12,
0,
0
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"x": {
@@ -68,15 +69,15 @@
1
],
"world": [
-1.8768789768218994,
0.34002411365509033,
-1.7247304318819034,
-0.4850368286962905,
1.488389492034912
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"y": {
@@ -92,15 +93,15 @@
1
],
"world": [
-1.8808482885360718,
0.13574811816215515,
-1.6419970838670583,
-0.6718512577331518,
1.8940227031707764
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"z": {
@@ -116,15 +117,15 @@
1
],
"world": [
-1.9016519784927368,
-0.7683008015155792,
-1.2787840471111187,
-1.4999898527864315,
2.2629480361938477
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"tilt": {
@@ -140,15 +141,15 @@
1
],
"world": [
-1.8515222072601318,
-0.20127654075622559,
-1.4729858525275663,
-0.9649055930417467,
0.8832522630691528
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"c": {
@@ -164,41 +165,41 @@
1
],
"world": [
-1.8516113758087158,
-0.8353592157363892,
-1.2050917487774973,
-1.5396173432583025,
0.796804666519165
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
}
},
"driven": {
"base": {
"local": [
0,
0.12,
0,
0
],
"localQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199334
],
"world": [
0,
0.12,
0,
0
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"x": {
@@ -214,15 +215,15 @@
1
],
"world": [
-1.8668789768218994,
0.34002411365509033,
-1.715667354011537,
-0.48081064607888346,
1.488389492034912
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"y": {
@@ -238,15 +239,15 @@
1
],
"world": [
-1.8708482885360718,
0.15574811816215514,
-1.641386371231506,
-0.6494989193750118,
1.8940227031707764
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"z": {
@@ -262,15 +263,15 @@
1
],
"world": [
-1.8916519784927368,
-0.7483008015155792,
-1.2781733344755664,
-1.4776375144282916,
2.292948036193848
],
"worldQuaternion": [
0,
0,
0,
1
0.21643961393810288,
0.9762960071199335
]
},
"tilt": {
@@ -286,15 +287,15 @@
0.9914448613738104
],
"world": [
-1.8515222072601318,
-0.20127654075622559,
-1.4729858525275663,
-0.9649055930417467,
0.8832522630691528
],
"worldQuaternion": [
0.1305261922200516,
0,
0,
0.9914448613738103
0.12743220028900526,
0.02825103865291857,
0.21458794303666343,
0.9679436594388271
]
},
"c": {
@@ -310,15 +311,15 @@
0.9238795325112867
],
"world": [
-1.8516113758087158,
-0.791379088131547,
-1.2236785538569896,
-1.4997578111351686,
0.6356376244864839
],
"worldQuaternion": [
0.1205904774487396,
-0.04995021125231482,
0.3794095225512604,
0.9159756150367535
0.12854320606946854,
-0.022665635416815422,
0.5686694104253471,
0.812144084994173
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 KiB

After

Width:  |  Height:  |  Size: 338 KiB