@@ 179,7 179,7 @@ fn spawn_planets(mut commands: Commands) {
.insert(Sensor);
})
.insert(RigidBody::Fixed);
- let moon_pos = Transform::from_xyz(50.0, 0.0, 0.0);
+ let moon_pos = Transform::from_xyz(50.0, 20.0, 0.0);
commands
.spawn(PlanetBundle {
planet_type: PlanetType::Moon,
@@ 195,7 195,7 @@ fn spawn_planets(mut commands: Commands) {
.insert(Sensor);
})
.insert(RigidBody::Fixed);
- let mars_pos = Transform::from_xyz(50.0, 20.0, 0.0);
+ let mars_pos = Transform::from_xyz(-50.0, 300.0, 0.0);
commands
.spawn(PlanetBundle {
planet_type: PlanetType::Mars,