-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
from_bevy_mesh
doesn't support unindexed glTF
#490
Labels
Comments
rlidwka
added a commit
to rlidwka/bevy_rapier
that referenced
this issue
Apr 2, 2024
rlidwka
added a commit
to rlidwka/bevy_rapier
that referenced
this issue
May 11, 2024
rlidwka
added a commit
to rlidwka/bevy_rapier
that referenced
this issue
Jul 15, 2024
rlidwka
added a commit
to rlidwka/bevy_rapier
that referenced
this issue
Jul 15, 2024
rlidwka
added a commit
to rlidwka/bevy_rapier
that referenced
this issue
Oct 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bevy_rapier/src/geometry/collider_impl.rs
Lines 739 to 743 in 6aa960b
If
mesh.indices()
doesn't exist, function returns None.Turns out, indices can be absent from glTF, and the file will still be valid. In this case, bevy Mesh wouldn't have any indices either (but bevy would display it just fine). You can search the internet by keywords "unindexed mesh gltf", and it's full of bug reports about lack of support from various projects...
I'm using osm2world, and it turns out that it generates unindexed meshes, so... Any ideas how to implement it?
The text was updated successfully, but these errors were encountered: