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

@ -34,7 +34,7 @@ func _physics_process(delta: float) -> void:
var drift := cos(_time * shake_frequency * TAU) * shake_amplitude * shake_frequency * TAU * 0.35
if nerve != null:
drift *= nerve.drift_factor()
player.external_push = Vector3(drift, 0.0, 0.0)
player.external_push = global_transform.basis.x * drift
_was_on_pillar = true
elif _was_on_pillar:
player.external_push = Vector3.ZERO