This commit is contained in:
danny 2026-07-11 14:53:26 +02:00
parent 6f92fc0ae0
commit bc410156ee
41 changed files with 1058 additions and 743 deletions

View file

@ -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