Commit Graph

582 Commits

Author SHA1 Message Date
c024f98fd2 Update migrateSceneDocument to pass a flag in readEntities calls 2026-04-02 19:37:22 +02:00
3de07a9ae3 Add support for legacy sound emitter and new interaction actions in scene document migration 2026-04-02 19:37:11 +02:00
6d55986dba Refactor sound emitter entity reading 2026-04-02 19:37:01 +02:00
b249019bc4 Update migration logic for interaction links 2026-04-02 19:37:01 +02:00
636e073775 Bump scene document version and add spatial audio version 2026-04-02 19:37:01 +02:00
1a953046cc Add playSound and stopSound interaction actions 2026-04-02 19:36:28 +02:00
a100e464a3 Add interfaces for play and stop sound interaction links 2026-04-02 19:36:19 +02:00
3f245e1307 Add sound interaction actions and options 2026-04-02 19:34:02 +02:00
0cb7f93987 Add audio asset handling and import command 2026-04-02 19:33:56 +02:00
a694679a40 Update SoundEmitterEntity to include audio asset ID and distance properties 2026-04-02 19:33:31 +02:00
29ffd8ad55 Add satisfies assertion to scene-document-json.test.ts 2026-04-02 19:22:06 +02:00
00590b60e0 Update triggerOnExit to true in build-runtime-scene.test.ts 2026-04-02 19:22:06 +02:00
026ed6fb57 Add tests for playAnimation interaction link validation and runtime dispatch 2026-04-02 19:20:37 +02:00
74e7be5073 Refactor interaction link handling in App.tsx and update tests 2026-04-02 19:20:15 +02:00
7bc4ca3293 Enhance play animation validation by checking clip existence on model asset 2026-04-02 19:19:53 +02:00
ac70526b2a Remove Materials panel from App.tsx 2026-04-01 05:18:30 +02:00
1bed768ca0 Add material selection and clear material buttons in App.tsx 2026-04-01 05:18:25 +02:00
423eaa733d Close conditional rendering blocks in App.tsx 2026-04-01 04:59:41 +02:00
8f42c223a4 Add conditional rendering for Inspector panel 2026-04-01 04:59:41 +02:00
301f1c5811 Conditionally render World panel based on selection kind 2026-04-01 04:59:41 +02:00
485466dee0 Skip non-pickable meshes during hit detection 2026-04-01 04:41:48 +02:00
f342e284d6 Set nonPickable flag for radiusRing mesh in ViewportHost 2026-04-01 04:41:48 +02:00
f444758586 Set nonPickable flag for radiusShell mesh in ViewportHost 2026-04-01 04:41:48 +02:00
3575dae40d Set nonPickable flag for cone mesh in ViewportHost 2026-04-01 04:41:48 +02:00
d38ea6c755 Set nonPickable flag for range mesh in ViewportHost 2026-04-01 04:41:48 +02:00
8306042015 Fix formatting in viewport-host.ts 2026-04-01 04:40:50 +02:00
1dd41329d0 Reset last click pointer and selection key on tool mode change in ViewportHost 2026-04-01 04:38:08 +02:00
a61855494c Implement click-through cycling logic for object selection in viewport-host.ts 2026-04-01 04:37:03 +02:00
9060bce4ba Add click-through cycling tracking variables in viewport-host.ts 2026-04-01 04:37:03 +02:00
a2af5b4ec8 Remove unused state variables in App.tsx 2026-04-01 04:24:02 +02:00
9c91e4aca3 Remove Trigger Sources section from App.tsx 2026-04-01 04:21:47 +02:00
60562d98fb Remove triggerOnEnter and triggerOnExit from App.tsx 2026-04-01 04:21:47 +02:00
261f44b906 Remove unused state variables from App.tsx 2026-04-01 04:21:29 +02:00
ba3e09c4fc Simplify interaction link deletion logic in App.tsx 2026-04-01 04:21:29 +02:00
3f50ba13bb Remove unused function syncTriggerVolumeFlags from App.tsx 2026-04-01 04:21:11 +02:00
26c98e65c8 Refactor trigger condition checks in runtime-scene-build.ts 2026-04-01 04:20:59 +02:00
702179a424 Modify runtime-scene-build.ts to derive triggerOnEnter and triggerOnExit from interaction links 2026-04-01 04:20:50 +02:00
555a0d9910 Update App.tsx to re-sync trigger volume flags after deleting an interaction link 2026-04-01 04:20:50 +02:00
0aab6a7da6 Add function to sync trigger volume flags after mutation 2026-04-01 04:19:36 +02:00
09f962c390 Derive triggerOnEnter/triggerOnExit from actual links 2026-04-01 04:19:31 +02:00
03354bad2c Update trigger logic to check for links 2026-04-01 04:19:31 +02:00
064da0c338 Add loop checkbox to interaction link form 2026-04-01 04:07:29 +02:00
b635081d62 Add loop property to play animation interaction links and update migration script 2026-04-01 04:06:16 +02:00
5ae42b77a4 Include loop property in createPlayAnimationInteractionLink 2026-04-01 04:06:11 +02:00
aca1d057ec Use LoopOnce and LoopRepeat constants in action.loop assignment 2026-04-01 04:06:11 +02:00
d6c2f81eb5 Import LoopOnce and LoopRepeat from three.js 2026-04-01 04:06:11 +02:00
52fb3ec696 Update playAnimation method to include loop parameter 2026-04-01 04:06:11 +02:00
162d3c8d03 auto-git:
[change] src/runtime-three/runtime-host.ts
2026-04-01 04:05:09 +02:00
7f07475b68 auto-git:
[change] src/runtime-three/runtime-interaction-system.ts
2026-04-01 04:05:09 +02:00
fca26a95d4 auto-git:
[change] src/runtime-three/runtime-interaction-system.ts
2026-04-01 04:05:09 +02:00