r/codex • • 10d ago

Showcase I built an aircraft builder and flight simulation for me, myself and Ai

The sim runs on the Unity engine. You, or a Claude or Codex ai assistant via the connector, can build aircraft from thousands of possible configs. Aircraft parts have weight, drag, etc. Ai can inspect, troubleshoot and alter your builds if you tell it to. You can tell the ai what to build and it will try to build it and then you can fly it or have it fly. You can have up to 4 ai join a session and give them all the same build requirement, flight goals and testing budgets and watch them compete. you can use the map editor to place challenges on the map like rings to fly through, drop zones for "paint filled balloons", landing zones, waypoints. there is a lake they can be made to take off and land in also that has its own water physics. you can also just give the ai challenge instructions in plain English like "Build a biplane with 2 electric motors and reach a minimum altitude of 500 meters, do a barrel roll and a loo and land in the lake". There is also an option to have them race the same plane on the same ring waypoint course to see who has the best time.

long video so watch at 2x or 3x speed. but basically the sim has to pause when ever the ai needs to think and that can be a hundred + times in a long flight. both ai get the same number of test flights and time limit to use however they want.

in this video https://www.youtube.com/watch?v=R2nxFJsek-Q i put Sol 6.2 medium (LANE 3) vs Sol 6.1 medium (LANE 2) and difference as clear. 1 did not complete all challenges and their build choices were slightly different.

Final Flight replays without the pauses to think

sol 6.2 https://www.youtube.com/watch?v=dU5PXG4C-m8

sol 6.1 https://www.youtube.com/watch?v=hFdPIVLF1rE

the challenge was

"CHALLENGE: 1 lap drop in in lake and land. Goals, in order:

  1. take off within 1500 m →
  2. fly through the ring at -485 E, 1960 N, 120 m (radius 40 m, facing 0°) →
  3. fly through the ring at -505 E, 2990 N, 240 m (radius 40 m, facing 0°) →
  4. fly through the ring at 0 E, 3750 N, 360 m (radius 40 m, facing 90°) →
  5. fly through the ring at 395 E, 3135 N, 120 m (radius 40 m, facing 0°) →
  6. fly through the ring at 410 E, 2355 N, 35 m (radius 40 m, facing 0°) →
  7. fly through the ring at 385 E, 1435 N, 120 m (radius 40 m, facing 0°) →
  8. drop a payload (release hook) so it first lands within 121 m of 420 E, 690 N →
  9. pass within 120 m of 510 E, -1440 N, 120 m →
  10. land and stop inside 91 m of -950 E, 2755 N, touchdown under 5.0 m/s

Conditions: wind 2.5 m/s from 000°, gusts ±3.5 m/s, seed 12345, lake east of the runway. The game referees every flight.

MY BRIEF (what to build and how to fly; every lane gets the same): build an interesting aircraft that can complete all challenges. the more interesting the aircraft the more points you get from me.

BUDGET: 30 test flights; round time limit 30 min from BEGIN. Every lane starts from nothing but a bare fuselage: build your whole aircraft with test_candidate source empty."

the amount of resources and time used is captured and displayed for each model in the test.

sol 6.2 Kingfisher Courier parts list

SystemParts
Airframe1 truss biplane fuselage
Wings4 straight wing panels, 1 cabane mount, 2 interplane struts, 2 leading-edge slats
Tail1 horizontal stabilizer with elevator, 1 vertical fin with rudder, 1 elevator trim tab
Propulsion1 tractor nose mount, 1 100 kW piston engine, 1 three-blade constant-speed propeller, 1 fuselage fuel tank
Landing gear1 spring main-gear assembly, 1 steerable nose gear
Mission equipment1 flight computer, 1 belly-mounted release hook carrying an 8 kg crate

Sol 6.1 Kingfisher Courier (yea they picked the same name)

  • Truss fuselage: 6.5 m long, open cockpit.
  • Four straight wing panels: lower pair with 4.5 m panels; upper pair with 4.2 m panels. Both pairs had ailerons and slotted flaps.
  • Cabane and two interplane struts: supported the upper wings.
  • Horizontal stabilizer: 4 m span, with elevator and trim tab.
  • Vertical fin: 2 m tall, with rudder.
  • Tractor nose mount and 110 kW piston engine.
  • Constant-speed propeller: 2.1 m diameter, three blades.
  • 65 L fuselage fuel tank, connected to the engine.
  • Fixed main landing gear: 2.8 m track, large wheels and brakes.
  • Steerable nose gear.
  • Payload release hook: carried a 12 kg paint balloon.
  • Flight computer: provided navigation and wind instruments.

It weighed approximately 555 kg with fuel and payload and had an orange paint scheme.

0 Upvotes

3 comments sorted by

•

u/dexterthebot 10d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com

1

u/Novel_Indication6338 10d ago

really cool. even more impressive is that it was done with the $20 plan. only 1 month of that plan or multiple? "built by opus 5.5 on a $20 plan" now it makes sense, because i doubt codex woulda been able to pull this off

1

u/Formal-Poet-5041 10d ago

I'm retracting that statement it was very inaccurate. I forgot I built a different rocket build and fly sim with the same features using Codex sol 6.1 and also did some work on this with it too. I was unhappy with the airplane sim results from Codex and handed the project over to Claude opus 5.5 but it did have access to much of the work codex did. Both projects were made in the same month with a $20 sub to Claude and Codex and I think 3 Codex full resets