Updated Godot to version de917008f

main
unfa 2021-09-26 03:07:41 +02:00
parent a8c34bf896
commit 36381c25dc
4 changed files with 9 additions and 9 deletions

View File

@ -323,17 +323,17 @@ func _physics_process(delta):
direction = Vector3.ZERO
if is_on_floor() and ground_check.is_colliding() and not jetpack_active:
snap = -get_floor_normal()
#snap = -get_floor_normal()
medium = "ground"
gravity_vec = Vector3.ZERO
else:
snap = Vector3.DOWN
#snap = Vector3.DOWN
medium = "air"
gravity_vec += Vector3.DOWN * gravity * delta
if input_active:
if Input.is_action_just_pressed("move_jump") and is_on_floor():
snap = Vector3.ZERO
#snap = Vector3.ZERO
gravity_vec = Vector3.UP * jump
$JumpSFX.rpc(&"play")

BIN
Godot/godot-linux-nightly-x86_64.zip (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Godot/godot-windows-nightly-x86_64.zip (Stored with Git LFS)

Binary file not shown.