1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

  1. Octothorp Obelus

    Octothorp Obelus
    Expand Collapse

    Joined:
    Jan 24, 2014
    Messages:
    268
    So if we want to make a plane do we just model an aerofoil, or do we have to script in lift functions and drag ourselves? Just wondering how the air physics in this game work. :)
     
  2. Zappymouse

    Zappymouse
    Expand Collapse

    Joined:
    Jun 18, 2013
    Messages:
    1,059
    Lift and drag is calculated by the shape of a vehicle's physics skeleton "n/b" and the drag coefficient(s) "dragCoef" defined in the collision triangles section of the jbeam. Groups of triangles can be assigned unique dragCoefs allowing for greater design freedom and behaviour. Each triangle has its aero calculated independent of others, meaning airflow is not simulated, and triangles facing backward/out of the logical airstream contribute to drag as if there were no other triangles in front of it.

    In essence, lift and drag is done purely by the physics engine and the construction of the n/b; no magic cheating forces are applied to a vehicle to make it fly, and no separate aero code is used for different types of vehicles.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice