Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: ODE for Space Physics

  1. #11

    ODE for Space Physics

    I'll post the source code up and you can compile it yourself. It should work under linux.

    I've added a CFM if 0 and ERP of 0.8 to the world with no effect. There doesn't seem to be a way of setting these parameters for fixed joints.

    I'll post the exe (it's a windows exe sorry, my linux partition is not working at the moment)

    http://www.pgd.netstarweb.com/files/201/odetest.zip

    The controls are

    Mouse to look around
    Arrow Keys to move the camera left right forward backwards

    Space to apply forwad thrust.

    Key Pad keys

    4 & 6 thrust left right
    8 & 2 thrust down and up
    7 and 9 roll left and right

    I've upped the forst a bit so done hold the space bar down too long otherwise the stuff will go off into the distance and the camera won't be able to catch up..
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  2. #12

    ODE for Space Physics

    sorry about the spelling in that last post... ops:
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  3. #13

    ODE for Space Physics

    plus I didn't post the source as it uses a whole load of units that I have dotted all over the place, it would take me a while to gather all the units together.

    I'll try and to that later tonight (I supposed to be working at the moment :cry: )
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  4. #14

    ODE for Space Physics

    Quote Originally Posted by technomage
    I'll post the exe (it's a windows exe sorry, my linux partition is not working at the moment)
    I've tryed the demo. It seems to me that it's a problem in your rendering code, not in ODE.
    At first look, it seems that you're appling twice the translation and/or rotation of engines mesh. Look in your code how you render things.. have you a hierarchy of object or use ODE body directly ?

    Now, that's why i suggest using a proven system to "draw ODE world" while experimenting
    If you save your data in a proprietary format, the owner of the format owns your data.
    <br /><A href="http://msx80.blogspot.com">http://msx80.blogspot.com</A>

  5. #15

    ODE for Space Physics

    DOH!!!! ops:

    I just checked my code and I was in opengl mode, I was thinking the engines are owned by the hull so I needed to translate the engines along with the hull, not on there own... DOH DOH DOH.

    Well I got it working , just need to get some nice control mechanisms in now. the dbodyAddRelForce is a fantastic, it means I don't need to figure out which way is up etc, because the force is always applied relative to the body... fantastic

    thanks for you help, i'll post a small demo once I have a basic control system done.
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  6. #16

    ODE for Space Physics

    Looking forward to the demo .
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  7. #17

    ODE for Space Physics

    Quote Originally Posted by technomage
    DOH!!!! ops:

    I just checked my code and I was in opengl mode, I was thinking the engines are owned by the hull so I needed to translate the engines along with the hull, not on there own... DOH DOH DOH.
    Ehehe I'm too cool :joker: :clown:

    I'm waiting your demo
    If you save your data in a proprietary format, the owner of the format owns your data.
    <br /><A href="http://msx80.blogspot.com">http://msx80.blogspot.com</A>

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •