Commit Graph

5193 Commits

Author SHA1 Message Date
bc86a44e94 Add NPC Target Anchor utilities and factory function 2026-05-11 21:54:39 +02:00
2631ba6a00 Add NPC target anchor system to entity instances 2026-05-11 21:54:30 +02:00
82866c28ce Update scene document versions and add NPC target anchor version 2026-05-11 21:54:30 +02:00
9ba93694cc Update document migration checks to use default version constant 2026-05-11 21:36:39 +02:00
c30aa4fbc8 Update migration logic and set default NPC targetability to true in tests 2026-05-11 21:34:59 +02:00
3b4302c4a4 Simplify legacy NPC targeting check by removing sequence dependency 2026-05-11 21:34:51 +02:00
19ee1b8c80 Add test case to validate migration of NPC targeting properties (targetable) 2026-05-11 21:34:34 +02:00
2d6a5e3af9 Add NPC_TARGETING_SCENE_DOCUMENT_VERSION constant 2026-05-11 21:34:34 +02:00
236c17c908 Update test case to assert targetable property is true after JSON serialization 2026-05-11 21:34:34 +02:00
38cc205ac6 Update test case to set targetable property to true for runtime scene build 2026-05-11 21:34:34 +02:00
b6968474e2 Update migration logic for sequence steps and include new document version 2026-05-11 21:33:47 +02:00
28ffe766ae Bump scene document version and add default NPC targeting version 2026-05-11 21:33:47 +02:00
a8481b12a5 auto-git:
[change] src/entities/entity-instances.ts
2026-05-11 21:33:09 +02:00
82719b5ebe Add explicit scale and rotation definitions to build runtime scene tests 2026-05-11 21:28:42 +02:00
03886c2eea Update runtime interaction tests to set targetable to false 2026-05-11 21:28:42 +02:00
b9c45cd284 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-11 21:28:41 +02:00
bd8674ee60 Add validation test for NPC targetable property 2026-05-11 21:26:36 +02:00
5878601e67 Update serialization test to use brush targeting instead of sound emitter targeting 2026-05-11 21:26:24 +02:00
95efe2d483 Add migration test for NPC targetability in scene documents 2026-05-11 21:26:09 +02:00
b95d47d31a Remove unused imports for NPC targeting and run sequence links 2026-05-11 21:26:09 +02:00
8f725eaed4 Add targetable property check to scene document JSON test 2026-05-11 21:26:09 +02:00
d433cf7b1f Update serialization tests for NPC targeting and run sequence links 2026-05-11 21:26:09 +02:00
14ec50f588 Update buildRuntimeScene test case with targetable property 2026-05-11 21:26:09 +02:00
846b8a2b7c Enhance runtime interaction tests for target candidate resolution 2026-05-11 21:25:05 +02:00
17a3708f7b Update NPC targetability settings in runtime interaction tests 2026-05-11 21:25:05 +02:00
05bc58f0d3 Allow specifying NPC targetable status in tests 2026-05-11 21:25:05 +02:00
b87a58b3c9 Update default entity instance tests to include targetability 2026-05-11 21:25:05 +02:00
4d39cd020e Feature: Add UI control and state management for NPC targetability 2026-05-11 21:23:53 +02:00
925c5f73a1 Enhance runtime interaction system to require NPC targetability 2026-05-11 21:23:39 +02:00
f87d948109 Add validation and runtime support for NPC targetable property 2026-05-11 21:23:28 +02:00
5d4e67de48 Add migration logic for NPC targeting in scene and project documents 2026-05-11 21:23:20 +02:00
876a28646c Implement migration logic for NPC targetability in scenes and projects 2026-05-11 21:23:07 +02:00
fcbd2f58db Add support for NPC targetability in scene document migration 2026-05-11 21:22:32 +02:00
2ca8d9c951 Update scene document versions for NPC targeting 2026-05-11 21:22:23 +02:00
42e2728740 Feature: Add targetable status to NPC entities 2026-05-11 21:22:23 +02:00
63a0c2e1ef Set group rotation based on yaw degrees 2026-05-11 14:19:21 +02:00
b709764dce Refactor NPC group rotation logic in RuntimeHost 2026-05-11 14:17:56 +02:00
f71bc24bde Adjust viewport host rotation and initialize facing group name 2026-05-11 14:17:55 +02:00
4b76f1a719 auto-git:
[change] src/runtime-three/runtime-scene-build.ts
 [change] src/viewport-three/transform-surface-snap.ts
 [change] src/viewport-three/viewport-host.ts
 [change] tests/domain/runtime-interaction-system.test.ts
 [change] tests/domain/transform-session.command.test.ts
 [change] tests/serialization/scene-document-json.test.ts
 [change] tests/unit/runtime-interaction-system.test.ts
 [change] tests/unit/transform-foundation.integration.test.tsx
2026-05-11 14:15:37 +02:00
01ef204dcc auto-git:
[change] src/app/App.tsx
 [change] src/commands/commit-transform-session-command.ts
 [change] src/core/transform-session.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/entities/entity-instances.ts
 [change] src/runtime-three/runtime-host.ts
2026-05-11 14:15:14 +02:00
b6cadc27f9 Fix scope for modelInstances handling in ViewportHost 2026-05-11 14:14:29 +02:00
a97f57ed61 Improve type safety and structure in ViewportHost by adding kind checks and refining view logic 2026-05-11 14:13:11 +02:00
05cf64fd09 Refactor transform session logic to use explicit scope blocks for multiple target types 2026-05-11 14:12:58 +02:00
d7ef8ea4fd Enhance error handling and structure for commit transform session command 2026-05-11 14:12:58 +02:00
4558499107 Test: Verify trigger volume detection works correctly when rotated 2026-05-11 14:11:05 +02:00
a0193bcce1 Enhance scene document serialization tests with explicit transform defaults and migration checks 2026-05-11 14:10:55 +02:00
e139329955 Update transform operation tests to reflect supported rotation capability 2026-05-11 14:10:55 +02:00
e1cbdc827c feat(test): Add comprehensive tests for commit transform sessions (scale/rotate) on entities 2026-05-11 14:10:24 +02:00
c558d03426 Update integration tests to include scale definitions 2026-05-11 14:09:52 +02:00
32cd985d07 Update transform session command tests to include scale definitions 2026-05-11 14:08:41 +02:00