Results 1 to 20 of 3564

Thread: (SSGX Origins) Let's make a Wipeout game! This time for real!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Apr 2010
    Posts
    1,529

    Default

    So I restarted C++ again and made a program that calculates balistic trajectories, shows them (though there are a few errors I must correct with the angles: if they're bigger than 60 degrees and smaller than 30 degrees the program will give negative values for the altitude) and dumps the information on a file it created. This may not seem to have any similarity with this game but check this: balistic trajectories (flight physics), display information (with a bit more info I can display 3D models of any file format we need) and dump that info onto files (and reading them, though I didn't write that on this program) (create and loading save files, reading 3d model files, reading config files, modding will be possible).

    Here's the program.
    If you want the code just tell me:

    P.S. The smaller the time step the more continuous the trajectory looks. I usually use 0.01 sec.
    And try with a 45 degree angle. That works all the time... At least while I can't find out the problem with the angles... I think they have to be in radians...

    EDIT: Corrected. It used radians. So I made a line of code to convert degrees to radians and it worked..
    Last edited by Xpand; 27th August 2011 at 08:38 PM.

Tags for this Thread

Posting Permissions

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