aboutsummaryrefslogtreecommitdiff
path: root/examples3d
diff options
context:
space:
mode:
authorSébastien Crozet <sebcrozet@dimforge.com>2024-03-24 17:25:42 +0100
committerSébastien Crozet <sebastien@crozet.re>2024-03-24 18:06:00 +0100
commit2df7258570ce59aedd7fb4c0dea3d3290eb02a47 (patch)
treec69050633cd88c06e2a1fcb840d544b9c92e3689 /examples3d
parentf351dad9387d5d3d1eef475e217862008eea3725 (diff)
downloadrapier-2df7258570ce59aedd7fb4c0dea3d3290eb02a47.tar.gz
rapier-2df7258570ce59aedd7fb4c0dea3d3290eb02a47.tar.bz2
rapier-2df7258570ce59aedd7fb4c0dea3d3290eb02a47.zip
feat: update testbeds to bevy 0.13
Diffstat (limited to 'examples3d')
-rw-r--r--examples3d/vehicle_joints3.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples3d/vehicle_joints3.rs b/examples3d/vehicle_joints3.rs
index ddd672c..5eba608 100644
--- a/examples3d/vehicle_joints3.rs
+++ b/examples3d/vehicle_joints3.rs
@@ -138,16 +138,16 @@ pub fn init_world(testbed: &mut Testbed) {
for key in gfx.keys().get_pressed() {
match *key {
- KeyCode::Right => {
+ KeyCode::ArrowRight => {
steering = -1.0;
}
- KeyCode::Left => {
+ KeyCode::ArrowLeft => {
steering = 1.0;
}
- KeyCode::Up => {
+ KeyCode::ArrowUp => {
thrust = -drive_strength;
}
- KeyCode::Down => {
+ KeyCode::ArrowDown => {
thrust = drive_strength;
}
KeyCode::ShiftRight => {