@pinkaphant/kolmo 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -14
  3. package/bin/kolmo.mjs +22 -54
  4. package/dist/body/HeldItem.js +171 -0
  5. package/dist/body/KhrBody.js +171 -0
  6. package/dist/body/bodySi.d.ts +0 -11
  7. package/dist/body/bodySi.js +52 -0
  8. package/dist/body/index.d.ts +1 -1
  9. package/dist/body/index.js +4 -1
  10. package/dist/engine/index.d.ts +4 -4
  11. package/dist/engine/index.js +12 -3
  12. package/dist/engine/kolmoActor.d.ts +11 -4
  13. package/dist/engine/kolmoActor.js +197 -0
  14. package/dist/engine/kolmoInput.d.ts +17 -0
  15. package/dist/engine/kolmoInput.js +78 -0
  16. package/dist/engine/kolmoIsland.d.ts +3 -1
  17. package/dist/engine/kolmoIsland.js +311 -0
  18. package/dist/engine/kolmoLongDrive.js +223 -0
  19. package/dist/engine/kolmoRigs.js +59 -0
  20. package/dist/engine/kolmoStore.d.ts +53 -27
  21. package/dist/engine/kolmoStore.js +211 -0
  22. package/dist/engine/kolmoSurface.d.ts +1 -1
  23. package/dist/engine/kolmoSurface.js +182 -0
  24. package/dist/engine/kolmoVehicle.d.ts +3 -1
  25. package/dist/engine/kolmoVehicle.js +250 -0
  26. package/dist/engine/kolmoVehicleDriver.d.ts +30 -0
  27. package/dist/engine/kolmoVehicleDriver.js +29 -0
  28. package/dist/engine/kolmoWorld.d.ts +7 -15
  29. package/dist/engine/kolmoWorld.js +139 -0
  30. package/dist/engine/longDriveKit.d.ts +4 -2
  31. package/dist/engine/longDriveKit.js +254 -0
  32. package/dist/engine/mainlandMacroCell.d.ts +3 -7
  33. package/dist/engine/mainlandMacroCell.js +247 -0
  34. package/dist/engine/shiftedFixedBody.d.ts +13 -0
  35. package/dist/engine/shiftedFixedBody.js +64 -0
  36. package/dist/importer/ChopShopPanel.js +465 -0
  37. package/dist/importer/DomainWorkshopPanel.d.ts +9 -4
  38. package/dist/importer/DomainWorkshopPanel.js +385 -0
  39. package/dist/importer/GateHudBar.js +312 -0
  40. package/dist/importer/GlbImportGate.js +250 -0
  41. package/dist/importer/ImperativeVehicleRig.js +336 -0
  42. package/dist/importer/ImporterPlinthUikitTags.js +112 -0
  43. package/dist/importer/Step1CalibrationPlinth.js +275 -0
  44. package/dist/importer/Step2UniversalPad.js +244 -0
  45. package/dist/importer/VfxEmitterPool.js +91 -0
  46. package/dist/importer/chopShopActions.d.ts +22 -2
  47. package/dist/importer/chopShopActions.js +232 -0
  48. package/dist/importer/gateStore.d.ts +1 -1
  49. package/dist/importer/gateStore.js +92 -0
  50. package/dist/importer/glbNormalizer.js +133 -0
  51. package/dist/importer/importerWebMcp.d.ts +17 -6
  52. package/dist/importer/importerWebMcp.js +343 -0
  53. package/dist/importer/index.js +22 -3
  54. package/dist/importer/khrCompiler.d.ts +1 -1
  55. package/dist/importer/khrCompiler.js +434 -0
  56. package/dist/importer/launcherBake.js +51 -0
  57. package/dist/importer/meshIslands.d.ts +1 -1
  58. package/dist/importer/meshIslands.js +301 -0
  59. package/dist/importer/surfaceCutter.js +254 -0
  60. package/dist/importer/surfaceTopology.js +183 -0
  61. package/dist/importer/universalGateBake.js +162 -0
  62. package/dist/importer/usdToGlb.js +294 -0
  63. package/dist/importer/useChopShopController.d.ts +11 -2
  64. package/dist/importer/useChopShopController.js +364 -0
  65. package/dist/importer/vehiclePanelAnim.js +214 -0
  66. package/dist/importer/wheelAxlePairing.d.ts +1 -2
  67. package/dist/importer/wheelAxlePairing.js +102 -0
  68. package/dist/index.d.ts +1 -1
  69. package/dist/index.js +69 -13
  70. package/dist/junk/DestructibleTarget.js +154 -0
  71. package/dist/junk/KolmoJunk.js +65 -0
  72. package/dist/junk/ShardPieces.d.ts +6 -4
  73. package/dist/junk/ShardPieces.js +74 -0
  74. package/dist/junk/TargetDecals.js +51 -0
  75. package/dist/junk/bvhShatter.js +55 -0
  76. package/dist/junk/bvhTriCollector.js +78 -0
  77. package/dist/junk/index.js +11 -1
  78. package/dist/junk/junkGeometry.js +69 -0
  79. package/dist/junk/junkImportSanitize.js +54 -0
  80. package/dist/junk/junkImporter.js +95 -0
  81. package/dist/junk/junkLabelCanvas.js +67 -0
  82. package/dist/junk/junkLabels.js +35 -0
  83. package/dist/junk/targetHelpers.js +103 -0
  84. package/dist/junk/targetHitLogic.js +128 -0
  85. package/dist/junk/useTargetAssets.js +102 -0
  86. package/dist/physics/index.d.ts +26 -0
  87. package/dist/physics/index.js +84 -0
  88. package/dist/schema/kolmoSchema.d.ts +2 -1
  89. package/dist/schema/kolmoSchema.js +184 -0
  90. package/dist/shaders/celestialBackdrop.d.ts +1 -1
  91. package/dist/shaders/celestialBackdrop.js +344 -0
  92. package/dist/shaders/index.d.ts +0 -1
  93. package/dist/shaders/index.js +9 -1
  94. package/dist/shaders/plumeAndSparkle.js +271 -0
  95. package/dist/shaders/ps2GlslShared.d.ts +1 -1
  96. package/dist/shaders/ps2GlslShared.js +3 -0
  97. package/dist/shaders/ps2MaterialsTSL.js +65 -0
  98. package/dist/shaders/ps2MaterialsWebGL.js +40 -0
  99. package/dist/shaders/ps2RoadWebGL.js +101 -0
  100. package/dist/shaders/ps2TerrainWebGL.js +54 -0
  101. package/dist/shaders/ps2Textures.js +224 -0
  102. package/dist/shaders/retroPalettes.js +188 -0
  103. package/dist/shaders/retroShader.d.ts +31 -3
  104. package/dist/shaders/retroShader.js +249 -0
  105. package/dist/shaders/tsl.d.ts +1 -0
  106. package/dist/shaders/tsl.js +1 -0
  107. package/dist/vite/index.d.ts +15 -0
  108. package/dist/vite/index.js +90 -0
  109. package/dist/world/frontage.js +32 -0
  110. package/dist/world/index.d.ts +1 -1
  111. package/dist/world/index.js +11 -3
  112. package/dist/world/infiniteWorld2D.js +244 -0
  113. package/dist/world/island.js +201 -0
  114. package/dist/world/macroCellSchema.js +27 -0
  115. package/dist/world/macroKnightAStar.js +171 -0
  116. package/dist/world/random.js +33 -0
  117. package/dist/world/road.js +136 -0
  118. package/dist/world/roadRibbon.d.ts +6 -6
  119. package/dist/world/roadRibbon.js +161 -0
  120. package/dist/world/terrain.js +87 -0
  121. package/dist/world/worldTypes.js +111 -0
  122. package/package.json +32 -18
  123. package/dist/body-B7FTf67o.js +0 -362
  124. package/dist/engine-BeKvBM8d.js +0 -1745
  125. package/dist/importer-B2-S-N_e.js +0 -5113
  126. package/dist/junk-B4bC1zAl.js +0 -1049
  127. package/dist/kolmoSurface-DTnrFXH0.js +0 -558
  128. package/dist/shaders-GS71Ek1A.js +0 -1383
  129. package/dist/world-PRWPYrlx.js +0 -947
  130. package/dist/worldTypes-Z0KfdCd0.js +0 -226
@@ -1,362 +0,0 @@
1
- import { useContext as e, useEffect as t, useImperativeHandle as n, useLayoutEffect as r, useMemo as i, useRef as a } from "react";
2
- import * as o from "three";
3
- import { useFrame as s, useThree as c } from "@react-three/fiber";
4
- import { JointRegistryContext as l, KhrCollider as u, KhrValidationError as d, claimBundleMount as f, releaseBundleMount as p } from "@khr3/core";
5
- import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
6
- import { RigidBody as _ } from "@react-three/rapier";
7
- import { Ecctrl as v } from "@pinkaphant/ecctrl";
8
- import { EcctrlCameraControls as y } from "@pinkaphant/ecctrl/camera";
9
- // src/body/bodySi.ts
10
- var b = Object.freeze({
11
- capsuleHalfHeight: .5,
12
- capsuleRadius: .3,
13
- floatHeight: .15,
14
- eyeHeight: 1.62,
15
- firstPersonDistance: .02,
16
- thirdPersonDistance: 3.2
17
- }), x = Object.freeze({
18
- maxWalkVel: 2.5,
19
- maxRunVel: 9,
20
- accDeltaTime: .96,
21
- decDeltaTime: .9,
22
- slideGripFactor: 1,
23
- moveImpulsePointOffset: 0,
24
- airDragFactor: .85,
25
- enableToggleRun: !1
26
- }), S = Object.freeze([
27
- "Socket_Hand_R",
28
- "Socket_Hand_L",
29
- "Socket_Head",
30
- "Socket_Back"
31
- ]);
32
- function C(e) {
33
- for (let [t, n] of Object.entries(e)) if (!(typeof n == "number" && Number.isFinite(n) && n >= 0)) throw RangeError(`kolmo/body: ${t} must be a finite non-negative number, got ${String(n)}`);
34
- if (!(e.capsuleRadius > 0)) throw RangeError("kolmo/body: capsuleRadius must be > 0");
35
- }
36
- function w(e = b) {
37
- return C(e), e.floatHeight + e.capsuleRadius + e.capsuleHalfHeight;
38
- }
39
- function T(e = b) {
40
- return w(e) + e.capsuleHalfHeight + e.capsuleRadius;
41
- }
42
- function E(e = b) {
43
- let t = e.eyeHeight - w(e);
44
- if (!(t > 0)) throw RangeError("kolmo/body: eyeHeight must sit above the body centre");
45
- return t;
46
- }
47
- function D(e, t, n, r = b) {
48
- return [
49
- e,
50
- t + w(r),
51
- n
52
- ];
53
- }
54
- function O(e) {
55
- let t = e?.ecctrl ?? {};
56
- return {
57
- ...e ?? {},
58
- ecctrl: {
59
- ...t,
60
- excludeCharacterRay: !0
61
- }
62
- };
63
- }
64
- function k(e, t, n, r, i) {
65
- if (!e) return;
66
- let a = i ? t.x + i.x * n : t.x, o = i ? t.y + i.y * n : t.y + n, s = i ? t.z + i.z * n : t.z;
67
- e.moveTo?.(a, o, s, r), e.update?.(0);
68
- }
69
- // src/body/KhrBody.tsx
70
- var A = Object.freeze({
71
- Socket_Hand_R: [
72
- .22,
73
- -.18,
74
- -.38
75
- ],
76
- Socket_Hand_L: [
77
- -.22,
78
- -.18,
79
- -.38
80
- ],
81
- Socket_Head: [
82
- 0,
83
- 0,
84
- -.12
85
- ],
86
- Socket_Back: [
87
- 0,
88
- -.25,
89
- .28
90
- ]
91
- }), j = {
92
- forward: !1,
93
- backward: !1,
94
- leftward: !1,
95
- rightward: !1,
96
- run: !1,
97
- jump: !1
98
- };
99
- function M({ active: e, ecctrlRef: n }) {
100
- let r = a({
101
- w: !1,
102
- s: !1,
103
- a: !1,
104
- d: !1,
105
- shift: !1,
106
- space: !1,
107
- dirty: !1
108
- }), i = a(e);
109
- return t(() => {
110
- if (!e || typeof window > "u" || typeof window.addEventListener != "function") return;
111
- let t = (e) => (t) => {
112
- let n = r.current;
113
- t.code === "KeyW" || t.code === "ArrowUp" ? n.w !== e && (n.w = e, n.dirty = !0) : t.code === "KeyS" || t.code === "ArrowDown" ? n.s !== e && (n.s = e, n.dirty = !0) : t.code === "KeyA" || t.code === "ArrowLeft" ? n.a !== e && (n.a = e, n.dirty = !0) : t.code === "KeyD" || t.code === "ArrowRight" ? n.d !== e && (n.d = e, n.dirty = !0) : t.code === "ShiftLeft" || t.code === "ShiftRight" ? n.shift !== e && (n.shift = e, n.dirty = !0) : t.code === "Space" && n.space !== e && (n.space = e, n.dirty = !0);
114
- }, n = () => {
115
- let e = r.current;
116
- (e.w || e.s || e.a || e.d || e.shift || e.space) && (e.w = !1, e.s = !1, e.a = !1, e.d = !1, e.shift = !1, e.space = !1, e.dirty = !0);
117
- }, i = t(!0), a = t(!1);
118
- return window.addEventListener("keydown", i), window.addEventListener("keyup", a), window.addEventListener("blur", n), () => {
119
- window.removeEventListener("keydown", i), window.removeEventListener("keyup", a), window.removeEventListener("blur", n);
120
- };
121
- }, [e]), s(() => {
122
- let t = n.current;
123
- if (!t) return;
124
- if (!e) {
125
- if (i.current) {
126
- let e = r.current;
127
- e.w = !1, e.s = !1, e.a = !1, e.d = !1, e.shift = !1, e.space = !1, e.dirty = !1, j.forward = !1, j.backward = !1, j.leftward = !1, j.rightward = !1, j.run = !1, j.jump = !1, t.setMovement(j), i.current = !1;
128
- }
129
- return;
130
- }
131
- i.current = !0;
132
- let a = r.current;
133
- a.dirty && (a.dirty = !1, j.forward = a.w, j.backward = a.s, j.leftward = a.a, j.rightward = a.d, j.run = a.shift, j.jump = a.space, t.setMovement(j));
134
- }), null;
135
- }
136
- function N({ ref: e, si: t = b, smoothCamera: r = !1, makeDefaultCamera: o = !0, enableInput: s = !0, enable: l = !0, viewModelChildren: u, socketOffsets: d, children: f, userData: p, position: _, ...C }) {
137
- let T = a(null), D = a(null), O = a(null), j = a({
138
- Socket_Hand_R: null,
139
- Socket_Hand_L: null,
140
- Socket_Head: null,
141
- Socket_Back: null
142
- }), N = i(() => E(t), [t]), F = i(() => [
143
- 0,
144
- w(t),
145
- 0
146
- ], [t]), I = c((e) => typeof e.gl?.domElement?.setAttribute == "function"), L = i(() => {
147
- let e = p ?? {}, t = e.ecctrl ?? {};
148
- return {
149
- ...e,
150
- ecctrl: {
151
- excludeVehicleRay: !0,
152
- ...t
153
- }
154
- };
155
- }, [p]);
156
- return n(e, () => ({
157
- get ecctrl() {
158
- return T.current;
159
- },
160
- get cameraControls() {
161
- return D.current;
162
- },
163
- socket(e) {
164
- return j.current[e] ?? null;
165
- },
166
- syncCameraStep(e) {
167
- k(D.current, e, N, r, T.current?.bodyYAxis);
168
- }
169
- }), [N, r]), /* @__PURE__ */ g(m, { children: [
170
- /* @__PURE__ */ h(M, {
171
- active: !!(l && s),
172
- ecctrlRef: T
173
- }),
174
- /* @__PURE__ */ h(v, {
175
- ref: T,
176
- enable: l,
177
- position: _ ?? F,
178
- capsuleHalfHeight: t.capsuleHalfHeight,
179
- capsuleRadius: t.capsuleRadius,
180
- floatHeight: t.floatHeight,
181
- maxWalkVel: x.maxWalkVel,
182
- maxRunVel: x.maxRunVel,
183
- accDeltaTime: x.accDeltaTime,
184
- decDeltaTime: x.decDeltaTime,
185
- slideGripFactor: x.slideGripFactor,
186
- moveImpulsePointOffset: x.moveImpulsePointOffset,
187
- airDragFactor: x.airDragFactor,
188
- enableToggleRun: x.enableToggleRun,
189
- ...C,
190
- userData: L,
191
- children: f
192
- }),
193
- I ? /* @__PURE__ */ h(y, {
194
- ref: D,
195
- makeDefault: o
196
- }) : null,
197
- /* @__PURE__ */ h(P, {
198
- enable: l,
199
- ecctrlRef: T,
200
- camControlsRef: D,
201
- viewModelGroupRef: O,
202
- eyeOffsetY: N,
203
- smoothCamera: r
204
- }),
205
- /* @__PURE__ */ g("group", {
206
- ref: O,
207
- name: "KhrBody_ViewModel",
208
- children: [S.map((e) => {
209
- let t = d?.[e] ?? A[e];
210
- return /* @__PURE__ */ h("group", {
211
- name: e,
212
- position: [
213
- t[0],
214
- t[1],
215
- t[2]
216
- ],
217
- ref: (t) => {
218
- j.current[e] = t;
219
- }
220
- }, e);
221
- }), u]
222
- })
223
- ] });
224
- }
225
- function P({ enable: e, ecctrlRef: t, camControlsRef: n, viewModelGroupRef: r, eyeOffsetY: i, smoothCamera: a }) {
226
- return s((o) => {
227
- if (!e) return;
228
- let s = t.current;
229
- s && k(n.current, s.currPos, i, a, s.bodyYAxis);
230
- let c = r.current;
231
- c && (c.position.copy(o.camera.position), c.quaternion.copy(o.camera.quaternion));
232
- }), null;
233
- }
234
- // src/body/HeldItem.tsx
235
- var F = new o.Vector3(), I = new o.Vector3(), L = new o.Quaternion(), R = new o.Vector3(), z = new o.Quaternion(), B = 1e5;
236
- function V(e, t) {
237
- if (t.kind === "fixed") return 0;
238
- if (t.kind === "prismatic") return e.mass > 0 ? e.mass : 1;
239
- F.fromArray(t.axis).normalize(), L.fromArray(e.inertiaOrientation).invert();
240
- let n = F.clone().applyQuaternion(L), [r, i, a] = e.inertiaDiagonal, o = r * n.x * n.x + i * n.y * n.y + a * n.z * n.z;
241
- I.fromArray(e.centerOfMass);
242
- let s = I.dot(F), c = o + e.mass * (I.lengthSq() - s * s);
243
- return c > 0 ? c : 1;
244
- }
245
- var H = (e) => new o.Matrix4().compose(new o.Vector3().fromArray(e.localPosition), new o.Quaternion().fromArray(e.localQuaternion), new o.Vector3(1, 1, 1));
246
- function U({ ref: t, bundle: c, socket: v, bodyRef: y, parentSocketObject: b, userData: x }) {
247
- let S = e(l), C = i(() => B++, []), w = a(null), T = a(null), E = a(/* @__PURE__ */ new Map()), D = i(() => O(x), [x]), k = i(() => {
248
- let e = [];
249
- for (let t of c.bodies) for (let n = 0; n < t.colliders.length; n++) {
250
- let r = t.colliders[n], i = new o.Matrix4().compose(new o.Vector3().fromArray(r.localPosition), new o.Quaternion().fromArray(r.localQuaternion), new o.Vector3(1, 1, 1));
251
- e.push({
252
- key: `${t.nodeName}:${n}`,
253
- nodeName: t.nodeName,
254
- spec: r,
255
- local: i,
256
- ref: { current: null }
257
- });
258
- }
259
- return e;
260
- }, [c]);
261
- return r(() => {
262
- f(c, "HeldItem");
263
- let e = c.scene.position.clone(), t = c.scene.quaternion.clone(), n = c.scene.parent, r = c.sockets.grip_primary ?? c.sockets.IK_Palm_Primary;
264
- r ? c.scene.position.set(-r[0], -r[1], -r[2]) : c.scene.position.set(0, 0, 0);
265
- let i = b ?? y?.current?.socket(v) ?? T.current;
266
- i && c.scene.parent !== i && i.add(c.scene);
267
- let a = new Map(c.bodies.map((e) => [e.nodeName, e])), s = c.bodies.find((e) => !e.joint) ?? c.bodies[0], l = s ? H(s).invert() : new o.Matrix4(), u = /* @__PURE__ */ new Map();
268
- for (let e of c.bodies) {
269
- let t = e.joint;
270
- if (!t) continue;
271
- let n = a.get(t.connectedNodeName), r = l.clone().multiply(H(e)), i = n && n.joint ? H(n).invert().multiply(H(e)) : r, s = k.filter((t) => t.nodeName === e.nodeName).map((e) => ({
272
- ref: e.ref,
273
- local: e.local
274
- })), c = t.drive, d = {
275
- assemblyId: C,
276
- nodeName: e.nodeName,
277
- role: t.role ?? e.role,
278
- kind: t.kind,
279
- object: e.object,
280
- axis: new o.Vector3().fromArray(t.axis).normalize(),
281
- restPosition: e.object.position.clone(),
282
- restQuaternion: e.object.quaternion.clone(),
283
- q: 0,
284
- v: 0,
285
- positionTarget: c?.positionTarget ?? null,
286
- velocityTarget: c?.velocityTarget ?? 0,
287
- drive: c,
288
- limits: t.limits ? [t.limits[0], t.limits[1]] : null,
289
- limitStiffness: t.limitStiffness ?? null,
290
- limitDamping: t.limitDamping ?? 0,
291
- inertia: V(e, t),
292
- parent: null,
293
- restRelParent: i,
294
- current: i.clone(),
295
- stamp: -1,
296
- colliders: s
297
- };
298
- u.set(d.nodeName, d);
299
- }
300
- for (let e of c.bodies) {
301
- if (!e.joint) continue;
302
- let t = u.get(e.nodeName);
303
- t.parent = u.get(e.joint.connectedNodeName) ?? null, S?.add(t);
304
- }
305
- return E.current = u, () => {
306
- for (let e of u.values()) S?.delete(e), e.object.position.copy(e.restPosition), e.object.quaternion.copy(e.restQuaternion);
307
- E.current = /* @__PURE__ */ new Map(), c.scene.parent && c.scene.parent.remove(c.scene), n && n.add(c.scene), c.scene.position.copy(e), c.scene.quaternion.copy(t), p(c);
308
- };
309
- }, [
310
- c,
311
- v,
312
- y,
313
- b,
314
- S,
315
- C,
316
- k
317
- ]), s(() => {
318
- let e = w.current, t = b ?? y?.current?.socket(v) ?? T.current;
319
- e && t && (c.scene.parent !== t && t.add(c.scene), c.scene.getWorldPosition(R), c.scene.getWorldQuaternion(z), e.setNextKinematicTranslation(R), e.setNextKinematicRotation(z));
320
- }), n(t, () => {
321
- let e = (e, t) => {
322
- if (!e.drive || e.drive.stiffness === void 0) throw new d(`Joint "${e.nodeName}" has no authored drive stiffness; cannot set a position target`);
323
- let n = e.limits ? Math.max(e.limits[0], Math.min(e.limits[1], t)) : t;
324
- return e.positionTarget = n, n;
325
- };
326
- return {
327
- socket: v,
328
- get rigidBody() {
329
- return w.current;
330
- },
331
- setJointTarget(t, n) {
332
- let r = E.current.get(t);
333
- if (!r) throw new d(`kolmo/body: HeldItem has no joint named "${t}"`);
334
- return e(r, n);
335
- },
336
- setRoleTarget(t, n) {
337
- let r = !1, i = n;
338
- for (let a of E.current.values()) a.role === t && (i = e(a, n), r = !0);
339
- if (!r) throw new d(`kolmo/body: HeldItem has no joint with role "${t}"`);
340
- return i;
341
- },
342
- getRoleValue(e) {
343
- for (let t of E.current.values()) if (t.role === e) return t.q;
344
- throw new d(`kolmo/body: HeldItem has no joint with role "${e}"`);
345
- }
346
- };
347
- }, [v]), /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("group", {
348
- ref: T,
349
- name: `HeldItem_Fallback_${v}`
350
- }), /* @__PURE__ */ h(_, {
351
- ref: w,
352
- type: "kinematicPosition",
353
- colliders: !1,
354
- sensor: !0,
355
- userData: D,
356
- children: k.map((e) => /* @__PURE__ */ h(u, {
357
- ref: e.ref,
358
- c: e.spec
359
- }, e.key))
360
- })] });
361
- }
362
- export { S as a, D as c, O as d, b as i, T as l, N as n, E as o, x as r, w as s, U as t, k as u };