gfx - car physics and ramp with ODE (slow motion)

Loading...

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

Uploaded by on May 30, 2011

in development view.

* demonstrating simple car physics, powered by ODE

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (phpboxxx)

  • firstly,

    >>>>> issue one [unsolved]

    variables dParamVel1, and dParamFMax1 undeclared. Though declaring these as dReals would easily solve this issue, I wonder if they are standard, and I didn't include a header file?

    >>>>> issue two [solved?]

    DEGTORAD was uindeclared. Solved by doing the following:

    double pie = 3.142857143f, pie_symbol = 180.0f; DEG2RAD = angle/pie * pie/pie_symbol;

  • @Cavemanbennett I am finally able to answer, sorry for the long delay.

    first problem:

    those 2 should be declared by the header file indeed, but maybe their name is slightly different when you use C. I have seen some headers written for freebasic where the imported fucntions got a slightly different name.

    second problem:

    DEGTORAD is PI / 180 in my code.

  • thanks...didn't get it to compile, but thanks for your setup. Could learn from it.

  • @Cavemanbennett What are the problems while compiling, any errors? Maybe i can somehow help to get it going.

  • what are you using for graphics?

    Cleay your using ode for physics. But what for gfx.

    And if so, can you email me your code?

    Thuss far , I can code from scratch, working ode simulation with falling cubes, coliding into an ode plane....would love o use this as a guide to using ode,

  • @Cavemanbennett for graphics i use opengl, with the 3d engine i develop.

    for car setup with ode look here

    tinyurl dot com/3paaloh

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • thanks for assistance. I think the dParamVel1, and the dParamFMAx1 are the only real issues. if i declare them dReals, it compiles successfully, as all other things have been converted to C painlessly.

    Also, how did you bind the ode bodies and geometries to actual 3d object? And i don't know if it's too much to ask, but, do you mind sending me your wavefront loader? I found a 3ds loader, cleaned it up, and used it, but it has memory leak issues. Yet to find a robust, efficient 3d loader.

  • connverted it all to C, added neccessary variables that were not present, (MAX_CONTACTS, etc) but didn't really get it to compile in entirety.

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