Flag Pole

The latest addition to the project is one that has nothing to do with AI, but like the last couple of additions, this one enhances the environment and gives the user a more familiar look. And that is the well known Starting line Flag, every racing game has this, actually every real race has this, therefore it was important for me to add this to the project.




The cool thing about the flag is that I made sure that I wouldn't add more work for an artist that was creating a level, therefore I designed an algorithm that would look at the track and analyze it in a way that it could place the flag correctly.

Mainly it uses the starting point and the first checkpoint for reference.

No comments:

Post a Comment