Skip to content

fix: land non-inheriting Skew (SDK bump) + correct part-tracking docs - #303

Merged
MasamiYitsuse merged 3 commits into
developfrom
feature/modify_skew
Sep 8, 2026
Merged

fix: land non-inheriting Skew (SDK bump) + correct part-tracking docs#303
MasamiYitsuse merged 3 commits into
developfrom
feature/modify_skew

Conversation

@MasamiYitsuse

Copy link
Copy Markdown
Collaborator

What

Bumps the SpriteStudio-SDK submodule to the non-inheriting-Skew runtime change (cri-middleware/SpriteStudio-SDK#398) and corrects the part-tracking documentation to match.

Player-facing effect

Skew is no longer folded into the world matrix — SpriteStudio treats it as a per-part vertex deformation that does not inherit to children, and the runtime now applies it at the local-vertex stage. So:

  • Skewed parts render with the correct lean (matches the SpriteStudio editor) and their children are not skewed, as in the editor.
  • The transform a SpriteStudioPartAttachment2D follows — and get_part_transform() returns — reads ss_runtime_get_world_matrices, which is now skew-free. An attachment therefore reflects position / rotation / scale (and the mirror) but never a part's skew, consistent with skew being non-inheriting.

No C++ change is needed on the player side — the part-tracker correction falls out of the runtime change automatically (it reads the world matrix, which no longer carries skew).

Changes

  • docs/en|ja/workflow/usage_scripting.md — the part-tracking accuracy notes no longer claim the followed transform includes skew; they explain that skew is a non-inheriting per-part deform and so is not part of the followed pose.
  • ss_player/SpriteStudio-SDK — submodule bump to the change above.

Depends on

  • cri-middleware/SpriteStudio-SDK#398 (merge and re-point the submodule to develop before merging here, if you prefer the pointer on a landed commit).

https://claude.ai/code/session_01QgTZWEbMSX1xd87gC52guv

YITSUSE, Masami added 3 commits September 8, 2026 00:14
Skew is no longer folded into the world matrix, so the transform a
SpriteStudioPartAttachment2D follows (and get_part_transform returns)
carries no skew. Update the scripting guide (en/ja) accordingly: an
attachment reflects position/rotation/scale and the mirror, but a part's
skew — a non-inheriting per-part vertex deformation in SpriteStudio — is
not part of the followed pose.

Bump the SpriteStudio-SDK submodule to the matching runtime change
(feat: apply Skew as a non-inheriting local-vertex deform).

Claude-Session: https://claude.ai/code/session_01QgTZWEbMSX1xd87gC52guv
Comment-only change in ssruntime (SKEW_PROPAGATES doc); no behaviour
change.

Claude-Session: https://claude.ai/code/session_01QgTZWEbMSX1xd87gC52guv
Comment/lint-only changes in ssruntime (clippy 1.98 as_chunks /
needless_late_init); no behaviour change.

Claude-Session: https://claude.ai/code/session_01QgTZWEbMSX1xd87gC52guv
@MasamiYitsuse
MasamiYitsuse merged commit cc58130 into develop Sep 8, 2026
0 of 2 checks passed
@MasamiYitsuse
MasamiYitsuse deleted the feature/modify_skew branch September 8, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant