Skip to content

Why is Bevy's Coordinate System Right-Handed Y-Up? #10488

Answered by cart
cart asked this question in Q&A
Discussion options

You must be logged in to vote

This can be broken up into two questions, but the optimal solve requires considering both:

  • Why is Bevy right handed?
  • Why is Bevy y-up?

This really only comes down to these choices (from the perspective of our current right handed coordinate system):

  1. Do what is natural for right handed 2D / 2.5D and make Y-Up the global assumption across 2D and 3D, at the cost of making 3D slightly weird by making -Z "forward" semantically. This is a hidden implementation detail for most people.
  2. Do what is maximally natural for right handed 3D and make Z-up the global assumption, at the cost of making 2D very very weird (2D gamedevs think in z-levels for depth, not y-levels. Y is always the vertical axi…

Replies: 2 comments 10 replies

Comment options

cart
Nov 10, 2023
Maintainer Author

You must be logged in to vote
1 reply
@thmxv
Comment options

Answer selected by cart
Comment options

You must be logged in to vote
9 replies
@rlidwka
Comment options

@SolraBizna
Comment options

@Barugon
Comment options

@rlidwka
Comment options

@SolraBizna
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
A-Transform Translations, rotations and scales FAQ Frequently Asked Question. Enough users ask this question that we boost its prominince.
6 participants