fix: correct axis direction, air accel, and jump/dash input handling
This commit is contained in:
@@ -40,7 +40,7 @@ func _build_input_map() -> void:
|
||||
"jump": [KEY_SPACE],
|
||||
"sprint": [KEY_SHIFT],
|
||||
"crouch": [KEY_CTRL],
|
||||
"dash": [KEY_SHIFT],
|
||||
"dash": [KEY_LEFT_SHIFT],
|
||||
"fire": [MOUSE_BUTTON_RIGHT, KEY_F],
|
||||
"fire_alt": [MOUSE_BUTTON_LEFT],
|
||||
"reload": [KEY_R],
|
||||
@@ -94,7 +94,7 @@ func _build_lighting() -> void:
|
||||
func _build_player() -> void:
|
||||
var player := CharacterBody3D.new()
|
||||
player.name = "Player"
|
||||
player.position = Vector3(0, 1.4, 8)
|
||||
player.position = Vector3(0, 1.7, 8)
|
||||
add_child(player)
|
||||
var shape := CollisionShape3D.new()
|
||||
shape.shape = CapsuleShape3D.new()
|
||||
|
||||
Reference in New Issue
Block a user