Skip to content

Commit 2f15cdb

Browse files
committed
Animation.gd: Pretty sure it was meant to be state_physics_process()
1 parent 0aab190 commit 2f15cdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Scripts/Player/States/Animation.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var pipe: ZoomTubePath = null
1010
var pipePoint = 0
1111
var pipe_direction: int = 1 # either 1 or -1
1212

13-
func state_process(delta: float) -> void:
13+
func state_physics_process(delta: float) -> void:
1414
# this state can be used for several purposes, pipe logic is a bit more complicated so I built some pipe following code here
1515
if pipe != null:
1616
# get next pipe point

0 commit comments

Comments
 (0)