use bevy::prelude::*; struct Rotator; fn main() { App::build() .add_default_plugins() .add_startup_system(setup) .add_system(rotator.system()) .run(); } /// rotates the parent, which will result in the child also rotating fn rotator(time: Resource