-
Book Overview & Buying
-
Table Of Contents
3D Game Development with Microsoft Silverlight 3: Beginner's Guide
By :
In order to create competitive games, we must add some intelligence to the characters and we have to be able to detect collisions between them. An UFO has to be able to pursue a spaceship. A missile must be capable of chasing a plane. A cat must try to catch a mouse. The real things move using some intelligence. However, they also make mistakes. Hence, we have to add artificial intelligence (AI) to our characters.
In this chapter, we will add action to the scenes. By reading it and following the exercises we shall learn to:
Detect when two characters hit
Define specific behaviors when the characters collide
Use physics simulation to respond to collisions
Add chasing capabilities to characters
Add evasion capabilities to characters
Control the intelligence used in the automated character's behavior
So far, we have been animating simple and complex 3D models in our 3D scenes, working with forces, impulses, acceleration...
Change the font size
Change margin width
Change background colour