use bevy::prelude::*; struct Rotator; fn main() { App::build() .add_default_plugins() .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::