Skip to content

feat(flame_forge2d): Use a meter-to-pixels constant for rendering instead of zoom #2613

Closed

Description

@spydon

What could be improved

We should be using a meter-to-pixels constant for rendering instead of using the zoom of the camera.
The zoom is needed since there is a speed limit in Forge2D which we currently easily hit when we calculate one Forge2D unit as one pixel, instead of something larger.

Why should this be improved

To make the coding more natural, you shouldn't have to zoom in just to not hit the speed limit.

Any risks?

Yes, this will be a breaking change.

More information

https://www.iforce2d.net/b2dtut/gotchas#speedlimit

Activity

  1. changed the title [-]flame_forge2d: Use a meter-to-pixels constant for rendering instead of zoom[/-] [+]feat(flame_forge2d): Use a meter-to-pixels constant for rendering instead of zoom[/+] on Jul 26, 2023
  2. added a commit that references this issue on Jul 20, 2026
    f7bbb0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions