Commit Graph

5072 Commits

Author SHA1 Message Date
fbe81faae2 Improve validation for target anchor offset 2026-05-11 22:02:07 +02:00
d00404ece3 Use default target anchor when resolving NPC target center 2026-05-11 22:00:39 +02:00
3fd2b6811b Update test case to use constant version for unsupported document checks 2026-05-11 22:00:39 +02:00
a9c7ca93db Add migration tests for NPC targeting anchors and related features 2026-05-11 22:00:16 +02:00
35875fa49d Update scene document test with target anchor definition 2026-05-11 22:00:06 +02:00
e72237cd3a Add NPC targeting version to serialization tests 2026-05-11 22:00:06 +02:00
9b9f4ef190 Add validation tests for invalid target anchor configurations 2026-05-11 21:59:42 +02:00
7ad7b71be6 Add targetAnchor definition to entity instances tests 2026-05-11 21:59:33 +02:00
3e3c872733 Add targetAnchor definition to build-runtime-scene tests 2026-05-11 21:59:33 +02:00
35114af97c Test: Resolve NPC target anchors from scaled bounds and offsets 2026-05-11 21:59:16 +02:00
8910a80cd4 auto-git:
[change] tests/unit/runtime-interaction-system.test.ts
2026-05-11 21:59:16 +02:00
a12292b5a4 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-11 21:59:16 +02:00
778e483aad Implement NPC target anchor selection and custom offset inputs 2026-05-11 21:57:52 +02:00
436ec50197 Feature: Add target anchor support for NPC entities 2026-05-11 21:57:32 +02:00
b82d60e61b Add state management for NPC target anchor mode and offset 2026-05-11 21:57:24 +02:00
14a283010e Implement NPC target anchor features 2026-05-11 21:57:16 +02:00
59521f40eb auto-git:
[change] src/runtime-three/runtime-interaction-system.ts
2026-05-11 21:56:44 +02:00
a53e045a83 auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:56:12 +02:00
60693e278f auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:56:04 +02:00
4879fd1257 auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:55:59 +02:00
1ac25b9edf auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-11 21:55:54 +02:00
8b9d2af28f Validate NPC target anchor structure, mode, and offset 2026-05-11 21:55:48 +02:00
f26f246c8a Add validation utility for NPC target anchor mode 2026-05-11 21:55:48 +02:00
30ef861817 Update scene document migration compatibility for NPC target versions 2026-05-11 21:55:48 +02:00
34dba2d4c8 Implement readNpcTargetAnchor function 2026-05-11 21:55:20 +02:00
9cd41e49b8 Add target anchor reading to NPC entity migration 2026-05-11 21:55:20 +02:00
5445607a07 Add NPC target anchor version constant 2026-05-11 21:55:20 +02:00
b8ac03fda5 Update document migration to include NPC target anchor settings and types 2026-05-11 21:55:02 +02:00
77283403fa Add target anchor support to NPC entity creation and comparison 2026-05-11 21:55:02 +02:00
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