I’m trying to make a tower roaming system with two states - attack and follow the direction of the playere and return to the roaming state when losing sight of the player. the first part I managed to do but the second is driving me crazy.
Thanks in advance for any help. Here is a sample blend of what I want:
Tuttet Teste_3.blend (574.0 KB)
Take a look in my example here:
Ok looked at your blend(upbge).
This topic applies to you: Read -> Upbge and BGE compatibility
To fix your issue, remove and add a new state actuator on both states, then it works. The state is hanging inbetween the two (use the debug option), it goes 1 -> 2, 2->1, 1->2 and then it get’s stuck at 1,2.