I was in the process of rebuilding the PbrPipeline to account for my custom material because I couldn't figure it out. You are a life saver. Thank you !!!
When I try this on my own custom mesh, it panics and says there is not Handle found. I assume that's because we're querying the world before the scene gets loaded, as my scene is a bit bigger than an icosphere.
There was a bug that was also present in the video where it took a couple compiles to catch the time updating. Some race condition in the setup of the scene and the swapping of the material I think. I haven't had a chance to dig into why that happens yet.
In later videos I end up selecting the mesh specifically and spawning it myself using the #Primitive0 short hand: github.com/rust-adventure/bevy-examples/blob/main/examples/shield-spheres/src/main.rs#L269
I was in the process of rebuilding the PbrPipeline to account for my custom material because I couldn't figure it out. You are a life saver. Thank you !!!
YOU'RE AWESOME!!!!! Can't wait to hear more of your shield development 🤜🤛
Your videos are concise and helpful. Keep it up! 😀
This is so coooool!!!!
7:16 you may need to .insert(Inserted) here as well. I can't see that it's been added anywhere else.
When I try this on my own custom mesh, it panics and says there is not Handle found. I assume that's because we're querying the world before the scene gets loaded, as my scene is a bit bigger than an icosphere.
hard to say without seeing the code. If there are no meshes, the query for Handle should just have no results, not panic.
I've compiled the pressure-wave-sphere crate but nothing moves... 🤔 Windows 11, RTX3070 mobile, stable.
There was a bug that was also present in the video where it took a couple compiles to catch the time updating. Some race condition in the setup of the scene and the swapping of the material I think. I haven't had a chance to dig into why that happens yet.
Running mod_scene before change_color seems fo fix things (i,e `.add_system(mod_scene.before(change_color))` )
@@RobertoMaurizzi Ive updated the example in the repo and the fix works on my end as well. Thank you!
What IDE/editor setup is that?
vscode
OK but how are you getting the windows detached from each other and tiling like that? It's really cool.
@@Veliladon it's yabai on macos, specifically with the binary space partitioning layout method and some spacing configured
Thank you!
Did you find a way to query a specific scene? Seems like your mod_scene function will get anything in the game.
In later videos I end up selecting the mesh specifically and spawning it myself using the #Primitive0 short hand: github.com/rust-adventure/bevy-examples/blob/main/examples/shield-spheres/src/main.rs#L269
You've just outed yourself as a CGP Grey fan lol