Thanks a lot for all the information again.
So theere are 2 type of fixes that we can use here.
Either make transition checks happen after task execution in FSMState.cs Update() #111, by placing OnUpdate before the CheckTransitions.
Or a more safe aproach (to keep consistency with already made FSMs), would be in ActionTask.cs EndAction #122 to put: latch = success != null? true : false;
first, even before the status check:
1
2
3
4
5
6
latch=success!=null?true:false;
if(status!=Status.Running)
return;
I will probably go with this way in the next version update.
Thanks again!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.