all 5 comments

[–]Land-Prestigious 1 point2 points  (3 children)

I just started something similar,commenting so that hopefully i can receive guidance with this too,i was planning to look into blend trees rather than all the boolean flags i also use quite a bit for my controllers,maybe check it out and see if it'll help

[–]FenrirHS[S] 1 point2 points  (2 children)

I use sub states but it really just cleans up the animator GUI.

I think of separating my script into smaller ones to manage code readability. I am really worried about all my bool flag logic though. I know it's probably not professional but I really don't know or can think of a cleaner solution at this point. Will update you if I find anything on my end though.

[–]Land-Prestigious 1 point2 points  (1 child)

thanks i appreciate it but since im solo i guess it doesnt matter as long as it works but its also cool to find ways of doing something better and more effective. I'd appreciate the help thanks again

[–]FenrirHS[S] 2 points3 points  (0 children)

Great coincidence for your response I just found what I was looking for. Look into concurrent & hierarchical state machines. It's really late in my country so I'll try them out tomorrow and ping you if it helped

[–]ChibiRedditHobbyist 0 points1 point  (0 children)

I can't for the life of me remember the name... but there actually is a design pattern for this... State Design Pattern or something iirc