Make A Racing Game

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Ero Sennin
Posts: 1
Joined: Thu Feb 19, 2015 4:12 pm

Make A Racing Game

Post by Ero Sennin »

Hello everybody...
I am new in the world of game programming and just learn XNA 4.0.
I want to make a racing game like NFSU 2, but more simple.
I am confused on some points

how to make the track? using model (FBX / X) or made by using Catmull? for the collision, using StaticMesh or triangle?
my track must have left boundary and right boundary, so the car NEVER leave the track

Which option is more efficient

i am sorry if my english is not good, i from indonesia
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Make A Racing Game

Post by Norbo »

As far as the physics is concerned, the track's collision representation will likely end up being represented by meshes of triangles regardless of where they come from (generated from a curve or exported from a modelling program). The StaticMesh is indeed a good choice; it has a specialized hierarchy for lots of triangles. StaticMesh will be much faster than just individually adding thousands of independent triangles.
Post Reply