@relu-interactives/spatial-ecs 0.3.12 → 0.3.13

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 (38) hide show
  1. package/dist/{XRHandPose-DawOR0uR.d.cts → XRHandPose-9mVZVU3K.d.cts} +24 -8
  2. package/dist/{XRHandPose-DhAd9Qi6.d.ts → XRHandPose-To0260Lc.d.ts} +24 -8
  3. package/dist/{chunk-OMDYLFTN.js → chunk-3LDQ4GVZ.js} +5 -5
  4. package/dist/chunk-3LDQ4GVZ.js.map +1 -0
  5. package/dist/{chunk-7ZIN6TGT.js → chunk-CHZQ4NXP.js} +3 -3
  6. package/dist/{chunk-7ZIN6TGT.js.map → chunk-CHZQ4NXP.js.map} +1 -1
  7. package/dist/{chunk-ID7U4FER.js → chunk-JHFBEMXM.js} +4 -4
  8. package/dist/{chunk-ID7U4FER.js.map → chunk-JHFBEMXM.js.map} +1 -1
  9. package/dist/{chunk-LCJ6IH2O.js → chunk-N2634D4W.js} +57 -14
  10. package/dist/chunk-N2634D4W.js.map +1 -0
  11. package/dist/components/index.cjs +3 -3
  12. package/dist/components/index.cjs.map +1 -1
  13. package/dist/components/index.d.cts +2 -2
  14. package/dist/components/index.d.ts +2 -2
  15. package/dist/components/index.js +1 -1
  16. package/dist/docs/guide/vr-and-hand-poses.md +5 -3
  17. package/dist/factories/index.cjs +3 -3
  18. package/dist/factories/index.cjs.map +1 -1
  19. package/dist/factories/index.d.cts +1 -1
  20. package/dist/factories/index.d.ts +1 -1
  21. package/dist/factories/index.js +3 -3
  22. package/dist/{index-Xm3im4Pt.d.cts → index-BPKDsVF7.d.cts} +1 -1
  23. package/dist/{index-M0I5B3JA.d.ts → index-BbXqWyEZ.d.ts} +20 -0
  24. package/dist/{index-B49322Q3.d.ts → index-Wzs-8FYa.d.ts} +1 -1
  25. package/dist/{index-DJ9bn9SF.d.cts → index-lqw8BM6E.d.cts} +20 -0
  26. package/dist/index.cjs +56 -13
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.js +8 -8
  31. package/dist/systems/index.cjs +56 -13
  32. package/dist/systems/index.cjs.map +1 -1
  33. package/dist/systems/index.d.cts +1 -1
  34. package/dist/systems/index.d.ts +1 -1
  35. package/dist/systems/index.js +3 -3
  36. package/package.json +1 -1
  37. package/dist/chunk-LCJ6IH2O.js.map +0 -1
  38. package/dist/chunk-OMDYLFTN.js.map +0 -1
@@ -1938,8 +1938,8 @@ var _XRInteractableComponent = class _XRInteractableComponent extends Component
1938
1938
  this.attachPoints = (options?.attachPoints ?? []).map(
1939
1939
  (point) => createAttachPoint(point)
1940
1940
  );
1941
- this.throwOnRelease = options?.throwOnRelease ?? true;
1942
- this.throwStrength = options?.throwStrength ?? 1;
1941
+ this.applyVelocityOnRelease = options?.applyVelocityOnRelease ?? true;
1942
+ this.velocityScale = options?.velocityScale ?? 1;
1943
1943
  this.hoverBehavior = options?.hoverBehavior ?? "color";
1944
1944
  this.hoverColor = options?.hoverColor ?? "#4da3ff";
1945
1945
  this.hoverScale = options?.hoverScale ?? 1.06;
@@ -1983,7 +1983,7 @@ var _XRInteractorComponent = class _XRInteractorComponent extends Component {
1983
1983
  this.handColor = options?.handColor ?? "#e8b48a";
1984
1984
  this.handOpacity = options?.handOpacity ?? 1;
1985
1985
  this.handEmissiveIntensity = options?.handEmissiveIntensity ?? 0;
1986
- this.showRay = options?.showRay ?? true;
1986
+ this.rayVisibility = options?.rayVisibility ?? "interacting";
1987
1987
  this.rayColor = options?.rayColor ?? "#4da3ff";
1988
1988
  this.rayThickness = options?.rayThickness ?? 6e-3;
1989
1989
  }