checkpoint
This commit is contained in:
parent
dd65741d7b
commit
85fe12bd3f
3 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -35,7 +35,7 @@ fn setup_ui(mut commands: Commands, asset_server: Res<AssetServer>) {
|
|||
},
|
||||
..Default::default()
|
||||
})
|
||||
.insert((UpText, TargetCamera));
|
||||
.insert(UpText);
|
||||
}
|
||||
|
||||
fn update_ui(
|
||||
|
|
Loading…
Reference in a new issue