use bevy::prelude::*; /// This example illustrates how to create parent->child relationships between entities how parent transforms /// are propagated to their descendants fn main() { App::build() .add_resource(Msaa { samples: 4 }) .add_plugins(DefaultPlugins) .add_startup_system(setup) .add_system(rotator_system) .run(); } /// this component indicates what entities should rotate struct Rotator; /// rotates the parent, which will result in the child also rotating fn rotator_system(time: Res