Physics of Racing

From GameBrew

Physics of Racing
AuthorJulianB/Jim (Laguna Seca)
Last Updated2011/01/11

Physics of Racing is a homebrew project of programming a racing game in 3D for the Nintendo DS. The development began with a simple sprite that moved a little, then became 3D version version that controls a Porsche 911 GT1.

The latest version is driving a Ferrari F40 on the grounds of Laguna Seca.


  • 3D integrated into the vehicle.
  • Circuit and unfinished game mode.
  • Good response to commands (accelerate, turn, etc).


Download contains the following demos, showcasing car physics and 3D car models:

  • 2 - Car Physics (in 2D).
  • 3 - Includes the physics of the 3D Demo Downtown Drivin'.
  • 4 - Porsche 911 GT1.
  • 5 - Car Physics (Norisring).
  • 6 - Ferrari F40 on the grounds of Laguna Seca.

User guide

Drive a Ferrari F40 on the grounds of Laguna Seca. You can enjoy the Corkscrew of Laguna Seca and the rest of the track with all it's up and downs.

No collision with the walls, no change of speed or traction on dirt, so do not have to stay on track.

There is no drifts, only slight over steer if use brake.

Framerate goes down if there are many collision detections, mainly at the last corner.


Stylus - Switch to next page and back

Left/Right - Turn left/right

R - Accelerate

L - Brake, Reverse

Select - Reset


physicsofracing2.png physicsofracing3.png

physicsofracing4.png physicsofracing5.png

physicsofracing6.png physicsofracing7.png


Tested on R4DS R4 Wood (firmware 1.11).


Car Physics (Laguna Seca)

  • Stable physics.
  • Better control (quicker steering and return to neutral).
  • You can see the weight distribution.
  • Collision with the ground.
  • Timing that stops the best time of the session, with 3 sectors.
  • 2D map of the track with the position of the car.

Car Physics (Norisring)

  • First release that is really playable.

Porsche 911 GT1

  • Can fly through the scene.
  • Can look at the used *number of polgons (in 2 different modes).

Car Physics (in 2D)

  • Simulate physic of a car.

External links