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 = mag * spring.0;
|
||||||
let spring = xform.translation + spring;
|
let spring = xform.translation + spring;
|
||||||
bevy::log::info!("suspension force: {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)
|
.insert(CyberCameras::Hero)
|
||||||
.id();
|
.id();
|
||||||
|
|
||||||
commands.spawn(TargetCamera(id));
|
|
||||||
|
|
||||||
commands
|
commands
|
||||||
.spawn(Camera3dBundle::default())
|
.spawn(Camera3dBundle::default())
|
||||||
.insert(CyberCameras::Debug);
|
.insert(CyberCameras::Debug);
|
||||||
|
|
|
@ -35,7 +35,7 @@ fn setup_ui(mut commands: Commands, asset_server: Res<AssetServer>) {
|
||||||
},
|
},
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
.insert((UpText, TargetCamera));
|
.insert(UpText);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn update_ui(
|
fn update_ui(
|
||||||
|
|
Loading…
Reference in a new issue