Jump to content
  • Advertisement
Sign in to follow this  
kvsingh

Fuzzy state machine

This topic is 2922 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!