Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

ODE Tank Tracks 1

Loading...

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

Uploaded by on Oct 14, 2008

http://www.ode.org/

The Open Dynamics Engine is an open source, 3d rigid bodies/collisions library with a C interface. It is very flexible. I am planning to build a realistic heavy/vehicle tank simulation.

First step - tank tracks! Modeling the tracks themselves was fairly easy. Building a program to plot the positions of the links tightly around the wheels of the drivetrain was not! My solution (first attempt):

1) Build segments visiting each wheel center in clockwise order
2) Offset segment points by radius of wheels (positive or negative)
3) Use simple trig to complete the path around the sprocket and idler
4) Calculate the number of links that can fit within each segment based on link length
5) Use linear interpolation between each segment's start and end points to generate the link positions
6) Rotate links by angle difference of segment from the horizontal

Note: I could not find a screen-capture program for OSX that was smooth enough to record the animation so I filmed it using my camera! Sorry!

Music - Learning to Fly, Pink Floyd

Link to this comment:

Share to:

Uploader Comments (Danny77uk)

  • this is so cool, I am doing a complex robot simulation too, and couldn't find a way of rendering the video, this video is kind of old (7 months) so did you find a way of capturing the video??

  • Yeah check out ODE Tank Tracks 2. Also very old. The code is much better now.

  • Very nice work! I've tried making a tank "simulation" with ODE, but I just use many wheels instead of tracks (you can see the video on my channel). This must have been very hard.

  • Thanks!!! This is my earliest, suckiest attempt - take a look at my other vid (ODE Tank Tracks 2 and that's an older version too) for a improved version in a vehicle. It's definitely worth doing - a lot of commercial tank games don't even bother. The hardest part is positioning the links and I have an improved, simplified algo for doing that. In the latest version, only the sprockets are powered and I'm using proper mesh models.

  • Nicely done :D

    Also bonus points for Pink Floyd :P

  • LOL! I'm into all sorts of music. I'm sorry for the poor video quality. You into ODE?

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • never mind, soz xD found it in discription! :) great vid 5/5 xD

  • what program u use? :) btw great weels ;)

  • awesomeness dude pretty awesome work

    theres some work waiting for me =D until now i'm just working on ogre3d but i still can't decide between Ode and NxOgre

    c ya ^^

  • thank's man, it is helpful

    i was busy with another project and am just getting back to ODE

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