Skip to content

avm2: Improve DisplayObject.rotationZ stubs#23469

Open
kjarosh wants to merge 1 commit intoruffle-rs:masterfrom
kjarosh:rotation-z
Open

avm2: Improve DisplayObject.rotationZ stubs#23469
kjarosh wants to merge 1 commit intoruffle-rs:masterfrom
kjarosh:rotation-z

Conversation

@kjarosh
Copy link
Copy Markdown
Member

@kjarosh kjarosh commented Apr 16, 2026

Z axis is placed perpendicular to the x/y plane, and effectively is the same as regular rotation. The API as described in docs works also the same way.

By delegating DisplayObject.rotationZ to DisplayObject.rotation, we can make the content work that used rotationZ the same way as rotation.

This does not address potential interactions with Matrix3D, etc., and thus the method is still marked as a stub.

Z axis is placed perpendicular to the x/y plane, and effectively is the
same as regular rotation. The API as described in docs works also the
same way.

By delegating DisplayObject.rotationZ to DisplayObject.rotation, we can
make the content work that used rotationZ the same way as rotation.

This does not address potential interactions with Matrix3D, etc., and
thus the method is still marked as a stub.
@kjarosh kjarosh added A-avm2 Area: AVM2 (ActionScript 3) T-compat Type: Compatibility with Flash Player waiting-on-review Waiting on review from a Ruffle team member labels Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-avm2 Area: AVM2 (ActionScript 3) T-compat Type: Compatibility with Flash Player waiting-on-review Waiting on review from a Ruffle team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Defend your Nuts: bow does not move

1 participant