use bevy::prelude::*; use bevy_mod_transform2d::prelude::*; fn main() { App::new() .add_plugins((DefaultPlugins, Transform2dPlugin)) .add_systems(Startup, setup) .add_systems(Update, (orbit, rotate)) .run(); } fn orbit(mut query: Query<(&mut Transform2d, &Orbit)>, time: Res