axis made out of buttons
This commit is contained in:
@@ -27,7 +27,7 @@ impl Game for TestGame {
|
||||
game_data.recreate_pipeline = true;
|
||||
}
|
||||
|
||||
self.cam_pos.x += self.input.get_axis("FORWARD");
|
||||
self.cam_pos.x += self.input.get_axis("FORWARD_AXIS");
|
||||
|
||||
// Move game objects
|
||||
game_data.push_constants.time = game_data.start_time.elapsed().unwrap().as_millis() as f32 / 1000.0;
|
||||
|
||||
Reference in New Issue
Block a user