bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add `AnimationGraph::from_clips` and simplify `animated_fox` example

Open rparrett opened this issue 6 months ago • 0 comments

Objective

Add a convenience constructor to make simple animation graphs easier to build.

I've had some notes about attempting this since #11989 that I just remembered after seeing #14852.

This partially addresses #14852, but I don't really know animation well enough to write all of the documentation it's asking for.

Solution

Add AnimationGraph::from_clips and use it to simplify animated_fox.

Do some other little bits of incidental cleanup and documentation .

Testing

I ran cargo run --example animated_fox.

rparrett avatar Aug 21 '24 13:08 rparrett