Cars running like crazy

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,238
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 17, 2009

Here is another XNA quick demo. For the physics I used the JigLib library, also the model for now from their demo application. The roads where traced in Google Earth, and then exported as KML.
What I'm trying to do now is get some nice traffic in the city. It doesn't seem to be that easy... :p Anyone have any ideas? Oh yeah... there are about 100 cars running like crazy.. .

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (cri5t1)

  • Looks cool. What kind of fps do you get with that many JigLib cars? I had perf issues with JigLib using a statictrianglemesh with ~8000 triangles. .

  • I couldn't tell you exactly, but it's above 30fps on a MacBook Pro. But to be honest, I will switch to ODE when I get the chance.. I'm not happy at all with the physics of the JigLib, at least as it concerns the car physics.

    You tried to use a collision mesh of ~8000 trianges? That seems way to much.. Try to simplify it as much as you can.. About 80 triangles should be enough to make a tight fit for a car.

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • For some reason, I really want to play this now. :D

  • i came to see jiglibx but got distracted by the music, what is it!

  • eyyyy how did you make the chasing camera????????? help me! thanks!

  • @cri5t2 idk It's been awhile since I asked that so I don't know what I was talking about.

  • @cri5t2 Do u have the tutorial page?

  • @cri5t2 ohhh thanks for answering! I'll learn more about this library! Thanks!

  • @JuampiMayoral I just used one of the examples that came with JigLib library, I was trying to make something much cooler, but failed miserably :)

  • @gamenew09 it was on PC, straight in the Visual Studio debugger. (What's AI?)

  • Sorry everyone, I did this demo a really long time ago.. It's not such a big deal, I just started from one of the JigLib's demo projects, then I made a very simple editor to create the streets and export the data as a big mesh overlaid on top of the grid. All the cars are just trying to get to some random point on the map, and I just "try" to steer them in that direction, but because they always accelerate, they get past their target point, and then they will steer around to get back.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more