mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed build placement bug, changed climb to LControl
This commit is contained in:
parent
bef4f11536
commit
59e6febb41
@ -129,7 +129,7 @@ impl PlayState for SessionState {
|
|||||||
if let Ok(Some(_)) = ray.1 {
|
if let Ok(Some(_)) = ray.1 {
|
||||||
// Hit something!
|
// 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)),
|
Some((cam_pos + cam_dir * dist).map(|e| e.floor() as i32)),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
@ -64,7 +64,7 @@ impl Default for ControlSettings {
|
|||||||
jump: KeyMouse::Key(VirtualKeyCode::Space),
|
jump: KeyMouse::Key(VirtualKeyCode::Space),
|
||||||
sit: KeyMouse::Key(VirtualKeyCode::K),
|
sit: KeyMouse::Key(VirtualKeyCode::K),
|
||||||
glide: KeyMouse::Key(VirtualKeyCode::LShift),
|
glide: KeyMouse::Key(VirtualKeyCode::LShift),
|
||||||
climb: KeyMouse::Key(VirtualKeyCode::Space),
|
climb: KeyMouse::Key(VirtualKeyCode::LControl),
|
||||||
climb_down: KeyMouse::Key(VirtualKeyCode::LShift),
|
climb_down: KeyMouse::Key(VirtualKeyCode::LShift),
|
||||||
wall_leap: KeyMouse::Mouse(MouseButton::Middle),
|
wall_leap: KeyMouse::Mouse(MouseButton::Middle),
|
||||||
mount: KeyMouse::Key(VirtualKeyCode::F),
|
mount: KeyMouse::Key(VirtualKeyCode::F),
|
||||||
|
Loading…
Reference in New Issue
Block a user