@relu-interactives/spatial-ecs 0.3.13 → 0.3.15
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.
- package/dist/{System-31wk-A0g.d.cts → System-BhnLw0fZ.d.cts} +7 -0
- package/dist/{System-31wk-A0g.d.ts → System-BhnLw0fZ.d.ts} +7 -0
- package/dist/{XRHandPose-9mVZVU3K.d.cts → XRHandPose-LR4EhboN.d.cts} +1 -1
- package/dist/{XRHandPose-To0260Lc.d.ts → XRHandPose-SZ7ou63b.d.ts} +1 -1
- package/dist/{chunk-N2634D4W.js → chunk-GULLCPO6.js} +63 -13
- package/dist/chunk-GULLCPO6.js.map +1 -0
- package/dist/{chunk-CHZQ4NXP.js → chunk-PNQ7HDQC.js} +2 -2
- package/dist/{chunk-CHZQ4NXP.js.map → chunk-PNQ7HDQC.js.map} +1 -1
- package/dist/{chunk-JHFBEMXM.js → chunk-UHJ4MDIM.js} +6 -3
- package/dist/chunk-UHJ4MDIM.js.map +1 -0
- package/dist/components/index.d.cts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/docs/guide/vr-and-hand-poses.md +12 -1
- package/dist/factories/index.cjs +3 -0
- package/dist/factories/index.cjs.map +1 -1
- package/dist/factories/index.d.cts +2 -2
- package/dist/factories/index.d.ts +2 -2
- package/dist/factories/index.js +2 -2
- package/dist/{index-lqw8BM6E.d.cts → index-BKGV3VvQ.d.cts} +11 -4
- package/dist/{index-BPKDsVF7.d.cts → index-BL5EWkwY.d.cts} +2 -2
- package/dist/{index-BbXqWyEZ.d.ts → index-Bi7L3QHF.d.ts} +11 -4
- package/dist/{index-Wzs-8FYa.d.ts → index-ByiUoIoh.d.ts} +2 -2
- package/dist/index.cjs +63 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -8
- package/dist/index.d.ts +45 -8
- package/dist/index.js +6 -6
- package/dist/systems/index.cjs +59 -9
- package/dist/systems/index.cjs.map +1 -1
- package/dist/systems/index.d.cts +2 -2
- package/dist/systems/index.d.ts +2 -2
- package/dist/systems/index.js +2 -2
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/worldSnapshotUtils.d.cts +1 -1
- package/dist/worldSnapshotUtils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-JHFBEMXM.js.map +0 -1
- package/dist/chunk-N2634D4W.js.map +0 -1
package/dist/factories/index.cjs
CHANGED
|
@@ -3421,6 +3421,9 @@ function createXRInteractor({
|
|
|
3421
3421
|
});
|
|
3422
3422
|
world.addComponent(entityId, new XRInteractorComponent(options));
|
|
3423
3423
|
scene.add(root);
|
|
3424
|
+
if (payload.skipDefaultChildren) {
|
|
3425
|
+
return entityId;
|
|
3426
|
+
}
|
|
3424
3427
|
for (const side of ["left", "right"]) {
|
|
3425
3428
|
const slot = new THREE32__namespace.Group();
|
|
3426
3429
|
const label = side === "left" ? "Left Interactor" : "Right Interactor";
|