Wednesday, April 25, 2007

ADDING "HYSTERESIS" TO YOUR DECISION MAKING CODE

Shawn has posted and interesting tutorial on how to handle discrete decision making from the changes in the values of continuos analog input: just by adding "hysteresis".

From Shawn's post: "... The problem is, game simulations tend to produce a lot of small and basically random fluctuations from one frame to the next. When these values are used to control a discrete decision, and when the input value is close to the decision threshold, the results can look pretty silly ...".

There's an interesting discussion going on there, so I suggest you read the post.

Bye!

No comments:

Post a Comment

Any thoughts? Post them here ...