#Loading a mesh through a pbrbundle
8 messages · Page 1 of 1 (latest)
Try #Mesh0/Primitive0 instead of #Scene0 :)
that didn't fix it, i'll attach my mesh file here. Its just a rectangular prism. The model loads when imported into blender. I wish bevy failed to load it more verbosely, Its not printing any errors for me ðŸ˜
Is it in front of your camera? 20.0 units is fairly high up
Or maybe it'll show up when spawned as a scene
commands.spawn(SceneBundle {
scene: ass.load("meshes/diff_bot-BodyBase.gltf#Scene0"),
..default()
});
Im using a fly camera to move my camera to it. Also, that works. Why does changing it to a SceneBundle work and not a PbrBundle though??
The file contains multiple primitives. The scene will load them all as separate entities.
Maybe try some other primitive (e.g. Primitive1)
ahh, I've not use gltf before. Anyway, I think im going to stick to the SceneBundle for loading meshes for sanity... It doesn't break rapier physics to use that instead.