I’m working on some AI NPCs that do many different things (over a network, too). For example, they are idle, walk, swim, wait, pray, talk, dance, build, fight, etc etc.
Does anyone have any advice on how to set this up nicely/properly? For example, if the NPC is walking, it will smoothly transition into swimming or talking or dancing. If it is dancing, it could smoothly transition into fighting or back to walking, etc etc.
Do I use a state machine with booleans to trigger the anims and a few dozen sloppy connections coming from the AIs idle or walking animations?
Do I make a ton of unique blends for each possible scenario and then add them to a montage somehow?
Any way I can think of it seems a little sloppy and probably difficult to work with and replicate. Any advice?