Skip to content

Conversation

@JeffM2501
Copy link
Contributor

CameraMoveForward and CameraMoveRight make the assumption that the camera up is Y when MoveInWorldPlane is true. This does not work if the camera up is not Y.

This PR forces the axis component that the camera up vector is in to 0 so that the world plane is normal to the up vector regardless of what axis is up.

@raysan5 raysan5 merged commit 0133a4e into raysan5:master Dec 31, 2025
16 checks passed
@raysan5
Copy link
Owner

raysan5 commented Dec 31, 2025

@JeffM2501 thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants