use bevy::prelude::*; struct Rotator; fn main() { App::build() .add_defaults() .setup(setup) .add_system(build_rotator_system()) .run(); } // rotates the parent, which will result in the child also rotating fn build_rotator_system() -> Box { SystemBuilder::new("Rotator") .read_resource::