Skip to content

Conversation

@greeble-dev
Copy link
Owner

@greeble-dev greeble-dev commented Dec 10, 2025

An alternative to bevyengine#20394 that takes a more conservative approach and avoids removing existing code.

Comparison:

This PR

  • Replaces use_model_forward_direction: bool with convert_coordinates: GltfConvertCoordinates
  • GltfConvertCoordinates has mutually exclusive Nodes and Scenes options.
  • Nodes is same as 0.17
  • Scenes is new and just transforms the scene root.
struct GltfPlugin {
-    use_model_forward_direction: bool,
+    convert_coordinates: GltfConvertCoordinates,
 }

+enum GltfConvertCoordinates {
+    #[default]
+    Off,
+    Scenes,
+    Nodes,
+}

bevyengine#20394

  • Removes node conversion entirely.
  • Adds a scene conversion option (same as this PR).

@greeble-dev greeble-dev changed the title The alternative to the alternative Add glTF scene conversion Dec 11, 2025
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