V.0.6.1
This commit is contained in:
parent
6f92fc0ae0
commit
bc410156ee
41 changed files with 1058 additions and 743 deletions
|
|
@ -33,7 +33,7 @@ func _physics_process(_delta: float) -> void:
|
|||
if is_on_ramp and is_player_free(player):
|
||||
var speed := Vector3(player.velocity.x, 0, player.velocity.z).length()
|
||||
if speed < ramp_min_momentum:
|
||||
player.external_push = Vector3(0, 0, slide_back_push)
|
||||
player.external_push = global_transform.basis.z * slide_back_push
|
||||
else:
|
||||
player.external_push = Vector3.ZERO
|
||||
_was_on_ramp = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue