Tuesday, December 18, 2012

FlyScript Update 1.1

There is a new version of FlyScript package, it contains improvements to the demo scene and to the aircraft model. Now also, it includes engine sounds and a cockpit view. You can watch the demo here:


7 comments:

  1. Hi, looking great, but I can't watch most of your videos as YouTube blocks videos with copyrighted music here in Germany :(

    I'm very interested in using your script but as there is no demo I have a few questions:

    How does the aircraft handle in extreme situations such as gliding and stalling?

    Is it possible for the aircraft to recover to a flying state if it is dropped mid air?

    Do the flight physics calculate each wing and control surface or is just the aircraft calculated as one body and the control surfaces are used to roll the aircraft?

    Thanks for your time.

    ReplyDelete
    Replies
    1. Hello, may be you can try watch the video using a proxy :/, regarding your questions, FlyScript calculates drag and lift for the entire aircraft and not for the wings or separate areas of it, the rotations are handled in a non-physical way based on aircraft speed, till now stalling or glide are not implemented in code but it is possible to recreate those states, for example if you dont have afterburners on and try to climb to 90 degrees with not enough speed it will be very hard to recover the control of the plane. I will consider your questions for better improvement of the script,
      Thank you.

      Delete
  2. How easy is it to adapt the script to various aircraft, including fantasy aircraft?

    I'm more interested in using this for enemy AI controlled aircraft and not flying it directly. How fast is the code? (Could I fly 100 planes in view, or just a few?)

    ReplyDelete
    Replies
    1. Hi, thanks for your interest, first of all it wouldn't be difficult to adapt the script for other jet aircraft. For another types of aircrafts it would be necessary to modify the drag and lift formulas, I could provide some instruction on how to modify or even provide the entire formula adjusted to a specific plane. If you intend to use it for AI controlled aircrafts then I suggest simplifying the (lift & drag) formulas and removing air density calculations, I guess it would work fine for lots of instances, however you would need to add the code regarding the AI functionality like turning, taking off, etc.

      Delete
  3. Hi .. I'll buy your flyScript in the unity asset store, but I'm not very good at programming, mainly in the setup of the axes. You have some video material that could help in this work? Or can you help me, if i need? Thank you.

    ReplyDelete
  4. Hi,

    This looks great and I'm very much interested in this. Before I buy, just wanted to confirm - if this runs on Android & iOS or not.

    Thank you,
    Mahendra

    ReplyDelete
    Replies
    1. Hi Mahendra, regarding your question, the script wasn't tested on android or ios, I must say it was more designed for desktop computers than for mobile devices, although its possible to use it if it is optimized for such devices, also the aircraft 3d model accompanied in the scene might be too heavy for mobile devices and you should replace it with a low poly version in that case.

      Delete