mbrea-c / bevy_animation_graph

Animation graphs in Bevy!
Apache License 2.0
103 stars 5 forks source link

Add support additive blending #57

Closed mbrea-c closed 2 months ago

mbrea-c commented 2 months ago

Added support for additive and "difference" blend modes for the blend node.

Updated human example to additively blend a "wave" animation on top of the regular motion.

Breaking changes

Blend nodes in *.animgraph.ron files need to be changed from Blend to Blend(). Since blend nodes now have a mode setting, the RON parser won't let you parse it as a unit struct.