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
Use flixel create to build a project from the FlxBitmapText template.
Set the tf2.angle value and see that the sprite rotates around its center by default (as expected).
Call tf2.origin.set(0, 0) to place the rotation origin at the top left of the sprite.
Set the tf2.angle value.
Observed behavior:
The sprite rotates around its center regardless of the origin value.
Expected behavior:
The sprite should rotate around the defined origin. For example, placing the rotation origin at the top left of the sprite should pivot around that corner.
The text was updated successfully, but these errors were encountered:
Reproduction steps:
flixel create
to build a project from the FlxBitmapText template.tf2.angle
value and see that the sprite rotates around its center by default (as expected).tf2.origin.set(0, 0)
to place the rotation origin at the top left of the sprite.tf2.angle
value.Observed behavior:
The sprite rotates around its center regardless of the
origin
value.Expected behavior:
The sprite should rotate around the defined origin. For example, placing the rotation origin at the top left of the sprite should pivot around that corner.
The text was updated successfully, but these errors were encountered: