Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D physics in XZ plane #359

Open
Nahor opened this issue Apr 27, 2024 · 0 comments
Open

2D physics in XZ plane #359

Nahor opened this issue Apr 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Nahor
Copy link

Nahor commented Apr 27, 2024

It would be great if bevy_xpdb_2d could handle the 2D<->3D conversions using the XZ-plane instead of just XY-plane.

The existing behavior (bevy_xpdb 0.4.2) works well for pure 2D games and for pseudo-3D (2D world using 3D models) side-view games. It's not so great for pseudo-3D top-down games, where the plane is XZ, with rotation around the Y axis.

(to be clear, I do not think a Position should be a "(x,z)" vector, I think it should remain a typical 2D "(x,y)" vector, but that vector should map to the x and z coordinates of a Vector3)

@Jondolf Jondolf added the enhancement New feature or request label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants