Game Development Reference
In-Depth Information
4
Physics Simulation
Introduction
Up to now, we have been dealing with semi-static objects that do not move or rotate unless
controlled by some script. In this chapter, we introduce physics simulation, an important
function of any game engine. Physics simulation gives the objects realistic behavior and
hence helps us making better, more fun games.
After completing this chapter you should be able to:
-
Use basic physics functions such as gravity and collision detection
-
Make physics-enabled vehicles (cars)
-
Create physical player character
-
Use ray casting to simulate shooting
-
Make physics projectiles
-
Simulate explosions and destruction
-
Create breakable objects
Search WWH ::




Custom Search