mirror of
https://codeberg.org/schrottkatze/mgd2-tram-championships.git
synced 2025-06-14 11:37:41 +00:00
switch to bevy-third-person-camera
for orbit cam
This commit is contained in:
parent
f518a2c670
commit
2e7de9f296
6 changed files with 1075 additions and 100 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue