update cheat teleport coordinates
This commit is contained in:
parent
84747e1c3a
commit
65c911d4dd
1 changed files with 3 additions and 3 deletions
|
@ -241,13 +241,13 @@ fn handle_cheats(
|
||||||
let (trans, mut pos, mut v) = q_player.get_single_mut().unwrap();
|
let (trans, mut pos, mut v) = q_player.get_single_mut().unwrap();
|
||||||
let (mut lifeform, ) = q_life.get_single_mut().unwrap();
|
let (mut lifeform, ) = q_life.get_single_mut().unwrap();
|
||||||
if key_input.just_pressed(settings.key_cheat_pizza) {
|
if key_input.just_pressed(settings.key_cheat_pizza) {
|
||||||
pos.0 = DVec3::new(-3370.0, 0.0, 0.0);
|
pos.0 = DVec3::new(-303370.0, 0.0, -500000.0);
|
||||||
}
|
}
|
||||||
if key_input.just_pressed(settings.key_cheat_farview1) {
|
if key_input.just_pressed(settings.key_cheat_farview1) {
|
||||||
pos.0 = DVec3::new(-800000.0, 800000.0, 0.0);
|
pos.0 = DVec3::new(-1000000.0, 1000000.0, -500000.0);
|
||||||
}
|
}
|
||||||
if key_input.just_pressed(settings.key_cheat_farview2) {
|
if key_input.just_pressed(settings.key_cheat_farview2) {
|
||||||
pos.0 = DVec3::new(800000.0, 400000.0, 0.0);
|
pos.0 = DVec3::new(1000000.0, 1000000.0, -500000.0);
|
||||||
}
|
}
|
||||||
if key_input.just_pressed(settings.key_cheat_stop) {
|
if key_input.just_pressed(settings.key_cheat_stop) {
|
||||||
v.0 = DVec3::ZERO;
|
v.0 = DVec3::ZERO;
|
||||||
|
|
Loading…
Add table
Reference in a new issue