CodeRecipe( );

one stop for all game coders..

Follow us on Twitter
Home
What is a physics Engine ? Print E-mail
User Rating: / 0
PoorBest 
Written by CR Team   
Monday, 05 July 2010 09:20

If you are new to the game development world or have the curiosity on how a 3D game works and how everything falls into place.. then read further...

In a very high level view ( say you are in a spaceship and watching down at earth , earth being the game here ) , a 3D game is usually made up of the following components:

  • A 3D engine - takes care of 3d models/mesh (which you create using 3rd party tools like Autodesk Maya, 3DSMax) , lights , rendering and so on
  • A Sound engine - takes care of sounds in a game ( say firing , explosion etc )
  • A Physics Engine - takes care of all math related calculations like collision, external forces ( gravity , velocity etc )
  • A programming Engine - usually a compiler that ships along with engine that converts your code into machine code and is the controlling factor for all the 3 engines listed above.

 

 

game_components

Physics engine is very powerful when used properly and can enhance gameplay and fun factor ! It controls all the advanced maths needed for your game and takes away the load of a game programmer of keeping track of

  • what happens when to objects in your game collide
  • Should there be gravity applied on the objects in 3d world
  • A force of say X is applied on an object, how fast should it move abd when should it stop moving ..
  • external forces on the object like friction , drag , force ( remember that a 3d world is not like the world you live in, its more like a vacuum or outer space )

We will publish a series of tutorials to give a better understanding of how things work when it come to a physics engine. 

coming soon...


 

CR Login

CodeRecipe Store

Twitter Feed

CR :) >>: RT @indiegamescom: Student game dev competition Dare to be Digital now accepting applicants http://t.co/Hf1phWJG