switch to bevy-third-person-camera for orbit cam

This commit is contained in:
Schrottkatze 2025-05-21 15:56:58 +02:00
parent f518a2c670
commit 2e7de9f296
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
6 changed files with 1075 additions and 100 deletions

View file

@ -6,8 +6,5 @@ use bevy::prelude::*;
/// Sets up the camera for the entire app, with a starting position for the game. (TODO: probably change that)
/// This camera is also used for menu rendering etc.
pub fn setup(mut c: Commands) {
c.spawn((
Camera3d::default(),
Transform::from_xyz(-20., 15., 0.).looking_at(Vec3::ZERO, Vec3::Y),
));
c.spawn(Camera3d::default());
}