You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Collision Inspector V2 UI rotation remains degrees, then converts through the shared helper before collision/heading rendering.
14
+
- Object Vector Studio V2 remains an editor surface; its preview shape transforms call the same helper for SVG transforms, point transforms, inverse point transforms, origin normalization, and rotation normalization.
15
+
- Object instance `x/y` remains the Asteroids runtime source-of-truth world position for the object's local coordinate origin. Manifest `objectOrigin` is transformed through the same runtime orientation path for diagnostics and inspector origin markers.
- PASS: `npx playwright test tests/playwright/tools/CollisionInspectorV2.spec.mjs --project=playwright --workers=1 --reporter=list`
36
+
-`4 passed`
37
+
- Validates Collision Inspector V2 layout and shared collision path.
38
+
- Validates runtime render bounds and shared collision bounds align for ship, asteroid, UFO, and bullet orientation samples.
39
+
- Validates bullet transformed points differ at `0`, `90`, `180`, and `270` degree headings while resolving through the same runtime/collision helper.
40
+
- Validates inspector heading guides use explicit rotation units.
41
+
- Validates Object Vector Studio V2 preview transforms match the shared orientation helper.
42
+
- PASS: `npm run build:manifest`
43
+
- Available repo build script wrote `docs/build/sample-manifest.json`; generated output was removed after validation.
44
+
- PASS: `git diff --check`
45
+
- Only existing line-ending conversion warnings were reported.
46
+
- PASS: Playwright V8 coverage report generated at `docs/dev/reports/playwright_v8_coverage_report.txt`.
47
+
48
+
## Full Samples Smoke Test
49
+
- Skipped. This PR is limited to shared orientation/runtime alignment and targeted Collision Inspector V2, Object Vector Studio V2, and Asteroids orientation validation.
50
+
51
+
## Manual Test Notes
52
+
- Open `tools/collision-inspector-v2/index.html?manifestPath=/games/Asteroids/game.manifest.json`.
53
+
- Select ship, bullet, asteroid, and UFO objects and rotate A/B; expected result is heading guides, origins, transformed points, and collision results updating consistently.
54
+
- Launch `games/Asteroids/index.html`, fire bullets at several ship headings, and verify bullet render direction and collision behavior track the ship heading.
55
+
- Open Object Vector Studio V2 and rotate/edit object geometry; expected result is unchanged editor zoom behavior with preview transforms matching runtime/collision orientation math.
0 commit comments