summaryrefslogtreecommitdiffstats
path: root/ps_curve.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-29 12:57:36 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-29 12:57:36 +0200
commitcddd0a496fcc6404f1024c4e515f1e20a31a2d6c (patch)
tree5a31beeeeeb7428976b9902a1165394d1ca8633b /ps_curve.gd
parent3c3d0c3bfd9bac15b4406318c27a91954c3e7697 (diff)
Add momentum to swinging
Diffstat (limited to 'ps_curve.gd')
-rw-r--r--ps_curve.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps_curve.gd b/ps_curve.gd
index ab5c327..c1c1567 100644
--- a/ps_curve.gd
+++ b/ps_curve.gd
@@ -36,7 +36,7 @@ func _handle_physics(delta: float):
p.velocity = (new_position - p.position) / delta
if finished:
- p.set_movement_normal()
+ p.request_state_normal()
return
p.position = new_position