Tech & AI News
Hacker News

Animation in Bevy: The Big Picture

A .glb model loaded into Bevy spawns as a hierarchy of entities, with an AnimationPlayer component automatically added to an entity that can drive animation. The AnimationPlayer references an AnimationGraph component on the same entity, and a NodeIndex identifies a specific animation within that graph. Calling `animation_player.play(node_index)` starts the chosen animation.