AI ProgrammingWildlifeWildlife is an example of solid state and fuzzy logic. There are four types of objects in this scene; grass (green), giraffes (yellow), lions (orange), lion leaders (red). The rules are pretty simple. The look for and go after the closest piece of grass. They use fuzzy logic to make their movement more natural. The lions have the same behavior, but instead of going after the grass, they hunt the giraffes. The lion leaders will group with up to four other lions to form prides. All the members of each pride will have the same target.
|