Immersive Aircraft [Fabric/Forge]

Immersive Aircraft [Fabric/Forge]

18M Downloads

Info on Datapack Properties

SageofTurtles opened this issue · 3 comments

commented

Hello! I'm trying to make some changes to the base properties of the aircraft from your mod in my modpack, and am having some difficulties understanding what each of these properties does. Could you maybe provide a little more detail on what these values control?

    "stabilizer": 0.1,
    "yawSpeed": 3.0,
    "pitchSpeed": 3.0,
    "engineSpeed": 0.035,
    "verticalSpeed": 0.0325,
    "pushSpeed": 0.03,
    "glideFactor": 0.05,
    "driftDrag": 0.01,
    "lift": 0.15,
    "rollFactor": 40.0,
    "groundPitch": 5.75,
    "wind": 0.01,
    "mass": 10.0,
    "groundFriction": 0.5,
    "horizontalDecay": 0.97,
    "verticalDecay": 0.925

Thank you in advance!

commented

Hey, ve been figuring this out myself and after analyzing 2k lines of code I can say that:

engineSpeed → In-air thrust scale (the main source of acceleration in flight). Decreasing it results in slower acceleration and makes it easier to stall the vertical lift when flying with the nose up.
pushSpeed → Pushing force on the ground, when the throttle is below 100% and you are pressing forward/back. Key for determining takeoff roll length.
yawSpeed, pitchSpeed → Turn rate and pitch up/down rate (in degrees per game tick). Lower values = "heavier" control feel (good for large aircraft).
rollFactor → How sharply the aircraft banks when rolling left/right. Lower = slower banking, slower coordinated turns.
lift → How quickly the velocity vector bends to match the nose direction (it's not "lift" in the sense of upward force). Values that are too high cause the plane to "stick" to the nose direction and make it very easy to recover from a slip.
driftDrag → Penalty for sideslip / lateral movement (sideways friction). It helps stabilize landings aligned with the runway but does not lengthen the ground roll when you are moving straight.
glideFactor → How much forward speed you get from descent. Higher = easier to "stretch" your glide without engine power, potentially leading to a longer ground roll if you land with a high descent rate.
groundPitch → The target nose angle on the ground (makes "rotating" for takeoff at low speed more difficult). Increasing this value will lengthen the takeoff roll.
wind & mass → Wind-induced "swaying" (here, mass influences the character of the perturbations, not the overall dynamics or thrust/braking force).
fuel → Fuel consumption multiplier.
(Optional) stabilizer, acceleration → These are supported by the vehicle engine and can be added to the JSON; stabilizer auto-levels the pitch, acceleration controls the engine's "response speed".

commented

Idk about the decay though

commented

This is extremely helpful, thank you so much!