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

Move 2D-only and 3D-only navigation code to its own subfolder #83133

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

aaronfranke
Copy link
Member

Godot's navigation system works with both 2D and 3D. The 2D navigation code is essentially a wrapper for the 3D navigation system. This PR moves the 2D navigation files into their own subfolder, making it clear what's just for 2D and what is shared between 2D and 3D. This is consistent with the scene/2d folder having 2D nodes.

@smix8
Copy link
Contributor

smix8 commented Oct 13, 2023

The same files for 3D are also not shared. I guess you would want to move them to their own 3D folder as well?

@aaronfranke aaronfranke force-pushed the 2d-navigation branch 3 times, most recently from f34a230 to f6b8b98 Compare October 13, 2023 18:49
@aaronfranke aaronfranke changed the title Move 2D-only navigation code to its own subfolder Move 2D-only and 3D-only navigation code to its own subfolder Oct 13, 2023
@aaronfranke
Copy link
Member Author

@smix8 Good idea, I did not realize those were fully independent. I have made the change.

@akien-mga akien-mga merged commit 2fb99c1 into godotengine:master Feb 26, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants