Hi all,
Check out the demos for the newest version of QuickB2 here: http://quickb2.dougkoellmer.com/bin/qb2DemoReel.swf
The source code, documentation, examples, and utilities can be downloaded here: http://code.google.com/p/quickb2/
This is the second major release, with the big feature being an extension that handles car physics and other top-down mechanics for a game like Grand Theft Auto.
Cars are defined by the following properties:
It takes into account most things you'd expect from a car simulation, like weight transfer, tire spin, handbrake turns, etc. The braking and friction model isn't insanely realistic, but close enough for most purposes. You should be able to put in real-life car properties and get a reasonable facsimile. If not, let me know. AI is modular and hot-swappable. You give a car a brain, and that brain sets "data ports" on the car that determine percentage of throttle, turn and brake each time step. The brain in turn is controlled either by player input, or by AI routines (path-finding, path-following, etc.).
Check out the demos for the newest version of QuickB2 here: http://quickb2.dougkoellmer.com/bin/qb2DemoReel.swf
The source code, documentation, examples, and utilities can be downloaded here: http://code.google.com/p/quickb2/
This is the second major release, with the big feature being an extension that handles car physics and other top-down mechanics for a game like Grand Theft Auto.
Cars are defined by the following properties:
- gear ratios and number of gears.
- torque curves (engine performance graphs that determine torque output at a particular RPM).
- differentials
- center of mass in the z direction (x/y center of mass is implied from the car body's geometry).
- arbitrary tire placement and number of tires.
- tire friction, including rolling friction.
- tire mass, width, and radius.
- whether a given tire turns and/or brakes and/or is driven
- turn angle.
- shift timings.
- manual or automatic transmissions.
- transmission efficiency.
- traction control (sets whether or not you can do burn-outs and such).
It takes into account most things you'd expect from a car simulation, like weight transfer, tire spin, handbrake turns, etc. The braking and friction model isn't insanely realistic, but close enough for most purposes. You should be able to put in real-life car properties and get a reasonable facsimile. If not, let me know. AI is modular and hot-swappable. You give a car a brain, and that brain sets "data ports" on the car that determine percentage of throttle, turn and brake each time step. The brain in turn is controlled either by player input, or by AI routines (path-finding, path-following, etc.).