-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Load GLTF/GLB misses an object clearly in Blender #4588
Comments
could you share your model? |
the gltf is something like 0.5GB |
Perhaps post a link to Google Drive / Dropbox, or some other file hosting service? |
Ok I have simplified the .blend file and exported to a smaller gltf that still reproduce the loading error. |
Here is a very simplified version: In Blender (and other gltf viewer), the ladder is under the drone. In Bevy, the ladder is on the other side of the wall |
exactly |
This would probably be fixed by #4379, or one of the other issues about transform order. I tried changing bevy/crates/bevy_transform/src/components/global_transform.rs Lines 209 to 218 in 4bcb310
pub fn mul_transform(&self, transform: Transform) -> Self {
let (scale, rotation, translation) = (Affine3A::from_scale_rotation_translation(
self.scale,
self.rotation,
self.translation,
) * Affine3A::from_scale_rotation_translation(
transform.scale,
transform.rotation,
transform.translation,
))
.to_scale_rotation_translation();
Self {
translation,
rotation,
scale,
}
} and it fixes the issue |
I was just pointed to this issue. I'm glad it would be fixed by #4379 . Also, the images at the beginning feel like a meme, and I love it. :) Maybe bevy merch with "The ladder is outside the hangar" and zero context. :D |
completely fixed with #5335! |
This is how I load the gltf/glb
Blender version
How Bevy renders the scene (ladder not present)
The ladder is actually outside the hangar
The text was updated successfully, but these errors were encountered: