Quantcast
Channel: Questions in topic: "state machine"
Viewing all articles
Browse latest Browse all 42

Question regarding FSM, are multiple Machines on the same Object recommended?

$
0
0
Hi, I'm about to tackle the FSM for my game but thinking about what states I need I came to the conclusion that I would need 2 separate StateMachines. So I have 4 Movement-States and 4 "Action" states. Each of the Action States has to be accessed through every Movement State. So for example I have Crouch, Prone, Sprint, Walk and I want to access a "Shooting" State from each of those. Is a second FSM the solution or is there a better way? Thanks!

Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>