Skip to content

Gizmos flip axes when values are largeΒ #19205

@aevyrie

Description

@aevyrie

Bevy version

Reproed in 0.14 - 0.16, could be further back.

What you did

Draw a large poly line, or axes gizmo scaled large.

What went wrong

Polylines flip axis when zoomed in. Would expect a loss of precision, but not the line to invert.

Found when migrating a production app from bevy_polyline to gizmos

Additional information

Screen.Recording.2025-05-13.at.12.55.59.PM.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-GizmosVisual editor and debug gizmosA-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions