checkpoint

This commit is contained in:
Joe Ardent 2024-07-22 14:35:05 -07:00
parent dd65741d7b
commit 85fe12bd3f
3 changed files with 2 additions and 4 deletions

View File

@ -79,7 +79,7 @@ pub(super) fn suspension(
let spring = mag * spring.0;
let spring = xform.translation + spring;
bevy::log::info!("suspension force: {spring:?}");
//let _ = force.apply_force(spring);
let _ = force.apply_force(spring);
}
}

View File

@ -52,8 +52,6 @@ fn setup_cybercams(mut commands: Commands) {
.insert(CyberCameras::Hero)
.id();
commands.spawn(TargetCamera(id));
commands
.spawn(Camera3dBundle::default())
.insert(CyberCameras::Debug);

View File

@ -35,7 +35,7 @@ fn setup_ui(mut commands: Commands, asset_server: Res<AssetServer>) {
},
..Default::default()
})
.insert((UpText, TargetCamera));
.insert(UpText);
}
fn update_ui(