V.0.6.1
This commit is contained in:
parent
6f92fc0ae0
commit
bc410156ee
41 changed files with 1058 additions and 743 deletions
|
|
@ -39,7 +39,7 @@ func _physics_process(delta: float) -> void:
|
|||
return
|
||||
var is_on_log := _is_player_on_log(player)
|
||||
if is_on_log and is_player_free(player):
|
||||
player.external_push = Vector3(0, 0, roll_speed * float(roll_dir))
|
||||
player.external_push = global_transform.basis.z * roll_speed * float(roll_dir)
|
||||
_was_on_log = true
|
||||
elif _was_on_log:
|
||||
player.external_push = Vector3.ZERO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue