I'm trying to create this 4 legged thing that moves one leg at a time. The leg that is supposed to be moving is determined by LegState. After the leg reaches a certain angle (Body.Angle+LegAngle) LegState is supposed to increment by one and allow the next leg to move but I can't seem to get it to work.
Everything I've tried either immediately increments by one and stops or increments every tick. What am I missing?
I've linked my capx.