Doh! Hysteresis

I was reading Shawn Hargreaves blog looking for some tidbits for a current project when I came across his post on using hysteresis in games, and I could have just about kicked myself!

Suddenly, some of the odd behavior I’ve seen from my C:SI combat bots made perfect sense….  They will sometimes appear to lock up and go spastic, and it’s now apparent to me that they were rapidly fluctuating between two conflicting states.

It’s so obvious now that someone has pointed it out to me in coding terms :)

*headdesk*

1 Response to “Doh! Hysteresis”


  1. 1 Takuan
Comments are currently closed.


Bad Behavior has blocked 169 access attempts in the last 7 days.