PATH PLANNING FOR RACING GAMES
Charlie Irawan Tan, Chen Chang-min, Wen‐Kai Tai, C.-C. G. Chang · International Journal of Artificial Intelligence Tools · 2010
We propose a set of path planning tools including path generator, cost map generator, and path editor for racing games. The user can define the race by providing a racetrack as a 3D model and weights of the devised turn and heuristic functions in our system. Then, the proposed cost map generator automatically generates necessary information of the racetrack including cost map and distance to finish of any position on the race track. Different from the traditional A* problem, in our research the obstacles are dynamic and there are multiple sources and destinations. Our approach generates the path of each racer on the basis of time slots to which the path finding method applies on the fly. To further guarantee the quality of the path, we implement path smoothing using a Gaussian filter and provide an off-line path editor that allows users to edit the path in time-space domain intuitively, flexibly, and effectively. Our tools have been verified in a horse racing game to generate natural racer behaviors, demonstrating realistic and exciting racing.