Commit Graph
9 Commits
Author SHA1 Message Date
richard bc4b5bcc92 Add sweep effects and direct cursor aim until the wings lift (0.4.8)
- Read wing sweep from the block layout and lower the lift slope, move the transonic drag rise, and stall the tips of aft swept wings first (or the root of forward swept ones), behind the new sweepEffects config option
- Treat blocks without a horizontal facing as facing the craft's dominant axis, and join diagonal same-level blocks into one wing
- Hold cursor aim in direct surface control until the wings can lift about 1.1g, with hysteresis back to 0.9g, and bank the ailerons toward the cursor while doing so
- Learn the roll sign from the response, like pitch and yaw
- Animate the surfaces from their real deflection and drive the flight computer's sweep-aware stall angle from the same per-block data
- Bump mod_version to 0.4.8
2026-11-21 09:25:53 +01:00
richardandClaude Opus 5.5 dec28c5a01 Let cursor aim turn as hard as the keys (0.4.5)
- Rate loop gets an integral term with anti-windup, so held turns reach
  the commanded rate instead of settling below it (rateIntegralGain)
- Cursor past full deflection asks for more pull than planned; a measured
  angle of attack limiter caps it at the wings' stall limit, like holding
  the key without stalling
- Lift margin is now configurable (liftMargin, default 0.95, was a fixed
  0.85) and also sets the angle of attack limit
- fullDeflectionDegrees defaults to 20 (was 30)
- Cursor aim options are settable in game with /aero
- /aero cursor_debug shows commanded vs actual pitch rate, planned pull,
  lift limit and stall ratio above the hotbar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:56:44 +01:00
richard 80bb63d44f Add LiveInputs so nozzles and Futurism afterburners follow cursor aim
- Cursor aim reverses below the nose and eases off in stalls, with pitch and yaw signs learned from the measured responses
- Cursor aim takes over at low speed and flies the surfaces directly while taxiing
- Nozzles and Futurism vectored afterburners follow the live flight inputs instead of the raw keys
- Warframes vertical surfaces and Futurism vectored afterburners are animated from their real deflection
2026-11-13 12:29:23 +01:00
richard 3478a04885 Rework cursor aim: cursor is world-fixed, pilot turns until reticle meets it
- Move cursor state to a world direction so the offset updates as the craft turns, not on mouse input alone
- Move cursor aim tunables from separate TOML files into Config, under cursor_aim sections
- Pilot banks by a level-wings cursor angle and pulls a level-turn rate, capped by live lift and measured control rate
- Measure each cursor-flown node's steady pitch rate from control torque over pitch damping
- Accumulate maximum stall-limited lift per tick for the pilot's turn-rate and bank limits
- Bump mod version to 0.4.2
2026-11-11 19:54:24 +01:00
richard 70eb237d70 Add vectored afterburner nozzle with afterburner key and exhaust style
- Add vectored afterburner nozzle block with AzureLib model, deflection, throttle and afterburner state
- Drive nozzles from the vehicle control node and map pitch, roll and yaw to differential deflection
- Add afterburner toggle key and packet, linked to the control node
- Replace Warium exhaust effect entities with improved flames, particles and sounds when exhaustStyle is improved
- Add /aero seedgen to measure the air ceiling for the air placeholder
- Upgrade Warium VS to 1.1.7 and make the lift use horizontal speed
2026-11-11 18:00:46 +01:00
richard 44a5f7f9bc feat(flight): enhance flight model with transonic drag and vortex lift features 2026-10-28 23:14:37 +01:00
richard 599ecae21f feat(flight): add aspect ratio lift and altitude-hold trim
- Derive lift slope and induced drag from each wing's aspect ratio, found by grouping connected wing blocks across short span gaps.
- Give stabilizers and vertical wings their own parasitic drag from the stabilizerDrag config.
- Replace designSpeed with a fixed lift constant and a liftScale multiplier.
- Make auto trim hold the altitude the craft has when the pilot releases pitch, using nested altitude, climb and attitude loops.
- Add /improvedaerodynamics (alias /aero) to list, read and set the main config values in game.
2026-10-28 22:06:50 +01:00
richard 4b7fb0e1e8 Add flight physics overhaul with Warium/Futurism mixins
- Route Warium and Futurism force queues through smoothed per-substep delivery
- Evaluate wing, stabilizer, control surface and air brake forces every physics substep
- Add optional improved flight model with angle-of-attack lift and stalls
- Add auto trim toggled by a client key and a server packet
- Add config options, translations, and mixin plugin version gating
- Bump mod version to 0.2.0 and bundle Futurism 0.0.4 as a compile-only dependency
2026-10-28 18:56:25 +01:00
richard 01817fbec1 Repaired the index 2026-10-27 10:10:43 +01:00