Hi everyone! I am wondering how I can animate a material property on a StandardMaterial using an AnimationClip. I have not been able to find any examples of doing this in the Bevy examples. Furthermore, I haven't been able to find a way to dynamically edit a StandardMaterial without creating a whole new StandardMaterial and adding it as a new asset.
#Animate Material with AnimationClip
3 messages · Page 1 of 1 (latest)
You can edit the StandardMaterial by using its handle to mutably access its actual data through ResMut<Assets<StandardMaterial>> - like you would for updating any assets data.
tyyyyyy