Add flaps: flappable tag, flap lever on the control node, flap physics (0.4.0)

Shift-right-click a block in improved_aerodynamics:flappable to make it a flap.
G/H step the node's flap lever UP/TAKEOFF/LANDING; flaps slew to the configured
angle, add lift and drag and raise the stall angle, and retract above a max speed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVREx3uo7nz1FEhzveWTUh
This commit is contained in:
Claude committed 2026-11-11 18:36:28 +01:00
1 parent 70eb237d70
commit 1be7e90ec2
18 files changed
+525 -13

No files matched your search

@@ -5,6 +5,7 @@ package dev.lumareth.improvedAerodynamics.flight;
* trim state.
*
* @param storedTrim trim saved in the node, used when the physics thread first sees the node
* @param flapSetting the node's flap lever, see {@link FlapSetting#ordinal()}
*/
public record NodeData(long key, double pitch, double yaw, double roll, double throttle, boolean autoTrim, double storedTrim) {
public record NodeData(long key, double pitch, double yaw, double roll, double throttle, boolean autoTrim, double storedTrim, int flapSetting) {
}