Sign in to follow this  
kvsingh

Fuzzy state machine

Recommended Posts

In fuzzy state machines, I understood the part about how to do the transitions, what I don't get is which state gets executed currently. Is it the state with the highest degree of representation?

For example, in a shooter game, I can have 2 fuzzy states : Combat and Replenish. Suppose I have DOR for combat as 0.6 and replenish as 0.4

So now,for transition, I will consider transitions of both states. But which state actually gets executed? As in, will the NPC attack the player or look for health/ammo?

Share this post


Link to post
Share on other sites
It's a dice roll on the percentages. It should attack with a probability of 0.6 and look for health/ammo with a probability of 0.4. Either outcome is possible, and could happen on any given run.

Fuzzy states are the same thing as marking off regions of a circle, and then playing spin the bottle.



[Edited by - AngleWyrm on December 12, 2010 8:30:31 AM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this