Results 1 to 8 of 8

Thread: Reccomend a physics engine please

  1. #1
    Member Contributor Bluebomber357's Avatar
    Join Date
    Oct 2008
    Posts
    92

    Reccomend a physics engine please

    I've seen jiglib, physx, and tokamak. Comment on these if you like or recommend another one. I need mesh collision so I can do physics with a terrain mesh. I do not need anything fancy like cloth, just an engine with good usability and documentation
    The Blue Guy Always Wins

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Reccomend a physics engine please

    ODE, Bullet, Newton Game Dynamics

    Never used one though. But Bullet and ODE seem quite popular.

  3. #3
    Senior Member Regular Contributor remdul's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands
    Posts
    346

    Re: Reccomend a physics engine please


  4. #4
    Member Contributor
    Join Date
    May 2009
    Posts
    57

    Re: Reccomend a physics engine please

    I'm going to add Newton to engine since I think it's really great but I'm really not sure of how to do that yet (haven't looked trough the tutorials well enough yet).

  5. #5
    Senior Member OpenGL Guru
    Join Date
    Dec 2000
    Location
    Reutlingen, Germany
    Posts
    2,042

    Re: Reccomend a physics engine please

    I have used PhysX and didn't like it. The engine is OK for simple stuff, but once you do more complicated things you find that there are many bugs and the documentation becomes extremely poor. For your current use-case it is good enough, but in the future you might want to do more complex things and then PhysX might annoy you as much as it did annoy me. Also the support was either non-existing or the default reply "read the documenation" (although i usually stated, that i have a problem, that is NOT mentioned in the badly written documentation...).

    Right now i use Havok and am very pleased with it. There is a free version of it for non-commercial use. The documentation is solid, if something is said to work that way, it really does. Especially their character controller is what i am very happy with, because even a simple game needs to be able to move characters through the world with proper behavior. This was the one thing that PhysX sucked so bad at, i had to program it mostly by myself, and my results were not that good, because things like having the characters be pushed by doors / elevators, react to objects thrown at them, not getting stuck, etc. is all very difficult to get working properly. Havok comes with all those features working out of the box.

    PhysX is/was completely free last time i used it. Havok isn't if you want to sell something.

    I haven't used any of the other engines.

    In the end it depends on various factors. Should it be free? Should it be open-source? Can you live with non-commercial use only? Do you only want to use a few features, like raycasting, or do you want to do proper physics simulations? Do you plan on doing a game? I have once used PhysX only to do raycasts for calculating ambient occlusion. That worked extremely well and was much much faster than my own raycasting. If you plan on doing something like that, the decision is something entirely different, than if you plan on making some kind of game.


    Hope that gives you some insights,
    Jan.
    GLIM - Immediate Mode Emulation for GL3

  6. #6
    Member Contributor Bluebomber357's Avatar
    Join Date
    Oct 2008
    Posts
    92

    Re: Reccomend a physics engine please

    Havok sounds interesting, but I would like it to not have commercial constraints. ODE seems like the best choice so far followed by Jiglib. With ODE, it seems like a lot of people use it and there is a lot of documentation. With Jiglib, I am having a hard time finding good docs, but it has a very nice test program with the exact car physics that I want in the test demo. Not a lot of people seem to use it for C++/opengl, everyone seems to be using Jiglib for ASE and C#.

    As for Newton, I have to still look into that further.
    The Blue Guy Always Wins

  7. #7
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    1

    Re: Reccomend a physics engine please

    If you plan to sell your commercial PC Game above a retail value of $10 USD, (or equivalent amount in other currencies based on prevailing exchange rates at the time of launch), you must first request a no-charge PC Game distribution license from Havok at http://www.havok.com/PCgamedistribution, prior to retail release of your game. This PC Game distribution agreement is required to ensure you have complied with Havok logo, copyright, and attribution requirements, and that your application is a PC game (commercial non-game application distribution is not allowed). There will be no fee associated with this because the license fee has been covered by Intel under a commercial agreement with Havok.
    as far as I can see havok is also free for commercial use for games

  8. #8
    Senior Member Frequent Contributor _NK47's Avatar
    Join Date
    Mar 2008
    Posts
    574

    Re: Reccomend a physics engine please

    For your needs i would recommend ODE or Bullet. Bullet seems more advanced in features but i spent most of the time with ODE for simple physics or ragdoll simulation. Even better if you use an Physics Abstraction Layer to have one code and decide later which physics engine to use - commercial or open.

Similar Threads

  1. Physics engine for 2D
    By ragzzy-R in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-15-2013, 09:10 PM
  2. Replies: 1
    Last Post: 11-26-2007, 05:28 AM
  3. Check My Engine if you like :) BeK Engine
    By unreal in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 09-03-2005, 12:38 PM
  4. OpenGL game engine physics
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-31-2003, 05:40 AM
  5. physics engine
    By V-man in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 12-17-2002, 12:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean