Profile image

Bomber Turret FT AI Test Plane

5,218 krevedkopro  4.1 years ago

This is a test plane showing bomber turret auto aim with simple prediction(no projectile fall compensation, so suitable for wing guns only).

You already can use it, but i will publish it's FT code in convenient for editing form (but i can't promise any deadlines), so it will be easy to compensate turret's offset relatively to the cockpit, change muzzle velocity etc.

Also, prediction here is based on assumption, that every 1km bullet lose 50m/s from it's muzzle velocity, which is set to 1000 m/s. If anyone has more detailed information about wing gun bullet mechanics, i will be grateful to get it.

Spotlights

General Characteristics

  • Created On Windows
  • Wingspan 47.3ft (14.4m)
  • Length 41.4ft (12.6m)
  • Height 13.5ft (4.1m)
  • Empty Weight 7,088lbs (3,215kg)
  • Loaded Weight 11,000lbs (4,989kg)

Performance

  • Power/Weight Ratio 2.042
  • Wing Loading 27.8lbs/ft2 (135.8kg/m2)
  • Wing Area 395.6ft2 (36.8m2)
  • Drag Points 3459

Parts

  • Number of Parts 53
  • Control Surfaces 5
  • Performance Cost 322
  • Log in to leave a comment
  • Profile image
    7,875 MTakach

    Hey I saw this and I'm curious if you'd be alve to help me out with the turrets on my project

    1.1 years ago
  • Profile image
    229 Onixbaron

    can it be mounted at the back and still work?

    2.1 years ago
  • Profile image
    5,218 krevedkopro

    @pg821
    here is explanation how it works:
    https://pdfhost.io/v/ynujis.r2_Explanationpdf.pdf

    3.4 years ago
  • Profile image
    5,218 krevedkopro

    @pg821
    here is explanation how it works:
    https://pdfhost.io/v/ynujis.r2_Explanationpdf.pdf

    3.4 years ago
  • Profile image
    197 pg821

    Any update on this code?

    3.4 years ago
  • Profile image
    1,783 BlackZero

    I got a set of codes for precise auto aim with predictions but I have no idea how to integrate them to your code (which is a masterpiece btw) and I like both codes but don't how to combine them (if it can be done)

    3.6 years ago
  • Profile image
    5,218 krevedkopro

    @ThomasRoderick sure you allowed, moreover, i did explanation sheet how to code this. Only thing not mentioned there, that it is convenient to additionally rotate relative CS, so positive relY looking forwards as gun, not as cockpit(90 degree rotation dont require any additional math, just swap expressions between X Y and Z at the page 6)
    explanation sheet:
    https://pdfhost.io/v/ynujis.r2_Explanationpdf.pdf

    +1 4.0 years ago
  • Profile image
    5,218 krevedkopro

    @ThomasRoderick oh, i even haven't thought about that! i set 5 m/s muzzle velocity and it seems that they haven't, so that part of code is harmful. I will fix that in future, but you already can change 0.05 values to 0 using notepad++'s text finder/replacer
    But anyway, this code will be used in turrets for tank cannons, as their projectiles are physificated

    +2 4.1 years ago
  • Profile image

    Wait, they slow down?

    +1 4.1 years ago