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
In response to issue godotengine#11630 on the godot-proposals repo
Adds direction property to AtlasTexture
Also adds Direction enum as a variant mapping to int with the 4 cardinal directions: NORTH, EAST, SOUTH, WEST
The direction property dictates the direction the region is drawn in, allowing AtlasTexture to support atlases with rotated members
ref godot-proposals issue godotengine#11630
Added enum 'Direction' as a variant with possible values: NORTH, EAST, SOUTH, WEST
Added 'direction' property of type 'Direction' to AtlasTexture. When drawing the region specified by the AtlasTexture it will be drawn with its specified direction facing up.
This is done to support Atlases with rotated members, which is a common practice for optimization.
Operating system or device, Godot version, GPU Model and driver (if graphics related):
godot 2.1
iOS 10
Issue description:
Steps to reproduce:
set the supported orientations all on in the project and run on the device and rotate it several times, it crash.
Link to minimal example project:
The text was updated successfully, but these errors were encountered: