Fixed build placement bug, changed climb to LControl

This commit is contained in:
Joshua Barretto 2019-09-26 12:03:39 +01:00
parent bef4f11536
commit 59e6febb41
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ impl PlayState for SessionState {
if let Ok(Some(_)) = ray.1 {
// Hit something!
(
Some((cam_pos + cam_dir * (dist - 0.001)).map(|e| e.floor() as i32)),
Some((cam_pos + cam_dir * (dist - 0.01)).map(|e| e.floor() as i32)),
Some((cam_pos + cam_dir * dist).map(|e| e.floor() as i32)),
)
} else {

View File

@ -64,7 +64,7 @@ impl Default for ControlSettings {
jump: KeyMouse::Key(VirtualKeyCode::Space),
sit: KeyMouse::Key(VirtualKeyCode::K),
glide: KeyMouse::Key(VirtualKeyCode::LShift),
climb: KeyMouse::Key(VirtualKeyCode::Space),
climb: KeyMouse::Key(VirtualKeyCode::LControl),
climb_down: KeyMouse::Key(VirtualKeyCode::LShift),
wall_leap: KeyMouse::Mouse(MouseButton::Middle),
mount: KeyMouse::Key(VirtualKeyCode::F),