Skip to content
Discussion options

You must be logged in to vote

I ended up realizing that a camera in Bevy is a bit strange (at least intuitively).

The confusing part of this image for me is that a camera's transform adheres to this image.
In other words, if you use gizmos and plot the local x, local y, local z of camera with no rotation and some translation, it will align the the world XYZ like you'd expect.

But the way the camera is looking is not the same thing. So the transform and its rotation does one thing, and the way the camera is looking is another (that is called forward, and is towards local negative Z).

Anyway I solved this for myself by using the external program's coordinate system, right handed XYZ with -Y up.

I apply transforms inclu…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

torsteingrindvik Feb 10, 2024
Collaborator Author

Answer selected by torsteingrindvik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants