Physics engine for car racing
Physics engine for car racing
Which one to choose? Newton seems natural choice, mostly due to few wrappers available (IrrNewt, IPhysics) but lacks support for vehicles other than rear wheel drive - well, it might be worked around but I don't really feel like doing such hacks..
Check out Physx, i'm sure it would be up to the job. There's my IrrPhysx wrapper available but it won't be supporting vehicle stuff for a while i should think, though you could inspect my IrrPhysx code to see how i've integrated Physx with Irrlicht.
Havok might be good to look at too, they're both free now (at least for non commercial anyway, you might want to check that with Havok if you plan to release your game commercially).
Both Havok and Physx are good because they're of commercial quality and have large teams behind them!
Havok might be good to look at too, they're both free now (at least for non commercial anyway, you might want to check that with Havok if you plan to release your game commercially).
Both Havok and Physx are good because they're of commercial quality and have large teams behind them!
ODE can surely do it. I am trying to get some ODE code up and running (although my first Irrlicht game "Marbles" (http://dustbin-online.de/marbles.php) is using ODE I decided to completely redo the ODE stuff to get a better integration. I just don't find much time currently to work on it, but I will post it as soon as I have some result.
Check out the ODE demos on their homepage, there is a car demo. And in the package some car stuff is also included.
Check out the ODE demos on their homepage, there is a car demo. And in the package some car stuff is also included.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
ODE is internally done in C++ (at least that's what they say ... haven't taken a look at that, but you could), but it uses a C interface to make it more portable.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
I think so (haven't tried). Maybe you should take a look at the forums on http://opende.sourceforge.net, they might be able to help you there.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
No, C++ is an extension of C. That is why it is sensible for C++ to support C programming. C is not a derivation of C++, therefore no support for C++, as there should be none. If C did support C++ compiling, than the language would simply be a C++ remake.maroxe wrote:can we use C++ in a C program?Brainsaw wrote:ODE is internally done in C++ (at least that's what they say ... haven't taken a look at that, but you could), but it uses a C interface to make it more portable.
TheQuestion = 2B || !2B
yeah, i used to use SDL wich is a C library in C++ program.
C can be warped in many other programming lagaguages, and it's one of its advantages.
by the way, there is a warpe of ode in C++ (take a look at odecpp.h & odecpp_include.h)
also, read this: http://groups.google.com/group/ode-user ... 30593d1840
C can be warped in many other programming lagaguages, and it's one of its advantages.
by the way, there is a warpe of ode in C++ (take a look at odecpp.h & odecpp_include.h)
also, read this: http://groups.google.com/group/ode-user ... 30593d1840