Labels

February 25, 2013

RGP day 15 - AI and a download link

So, as promised, I am finally giving you something to play with.

AI
I have added a very basic AI steering system and obstacle avoidance behaviors. I will write a more detailed article about it soon.

physics and handling
I completely rewrote handling and physics system using real world laws of aerodynamics. It was a really nice exercise and gave me the basic understanding of movement, drag, acceleration, etc.
The movement is now much smoother and the vehicle is very stable.
all math came from here: http://physics.info/drag/ & HERE
I will write a more artist-friendly overview of the physics behind the game.

UI
added subtle motion to the UI while steering

camera movement
The camera is now more dynamic. FOV, height and distance from vehicle increases with the velocity.

post-process filters
added a simple lens filter that distorts, blurs, creates vignette and adds some chromatic aberration near the edges of the viewport. I might make it react to the velocity as well.

a video:



and a download link to blend: https://dl.dropbox.com/u/11542084/RGPv01.zip

Now I have to finish few projects, so this is probably last (RGP related) blog post in next few months.