Compare commits

..

No commits in common. "cdc1dcec369dcd0d689ac07fe511858a2ec69a36" and "16a578d2945e8579290fdb07d763788b45ec1b42" have entirely different histories.

3 changed files with 1 additions and 15 deletions

View file

@ -1,6 +1,5 @@
# v0.11.1
- Added space suit thruster particle effects
- Fixed radio stations
# v0.11.0

View file

@ -624,12 +624,7 @@ fn handle_wants_lookat(
} else {
continue;
};
let up = if trans.translation.length_squared() > 1e-6 {
trans.up()
} else {
Dir3::Y
};
rot.0 = look_at_quat(**pos, target_pos, up.as_dvec3());
rot.0 = look_at_quat(**pos, target_pos, trans.up().as_dvec3());
}
}

View file

@ -219,14 +219,6 @@ pub fn handle_game_event(
}
GameEvent::SetMenu(turn) => {
settings.menu_active = turn.to_bool(settings.menu_active);
for mut window in &mut q_window {
window.cursor.grab_mode = if settings.menu_active {
bevy::window::CursorGrabMode::None
} else {
bevy::window::CursorGrabMode::Locked
};
window.cursor.visible = settings.menu_active;
}
ew_updatemenu.send(menu::UpdateMenuEvent);
}
GameEvent::SetThirdPerson(turn) => {