Skip to content

Commit 17e3773

Browse files
committed
feat: improved physics, regime shots.
1 parent 23fb2d7 commit 17e3773

File tree

107 files changed

+33227
-2069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+33227
-2069
lines changed

addons/openfairway/physics/BallPhysicsProfile.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,16 @@ private static Dictionary<string, RegimeScaleOverride> BuildDefaultRegimeOverrid
155155

156156
// Fast iron with high spin: over-carry
157157
["I-S3-V2-P3"] = new() { DragScaleMultiplier = 1.08f, LiftScaleMultiplier = 0.96f },
158-
["I-S2-V2-P3"] = new() { DragScaleMultiplier = 1.04f },
158+
["I-S3-V1-P2"] = new() { DragScaleMultiplier = 1.04f, LiftScaleMultiplier = 0.98f },
159+
["I-S2-V2-P3"] = new() { DragScaleMultiplier = 1.05f },
160+
["I-S2-V2-P4"] = new() { DragScaleMultiplier = 1.06f, LiftScaleMultiplier = 0.95f },
161+
162+
// Mid-speed iron: over-carry clusters
163+
["I-S2-V1-P2"] = new() { DragScaleMultiplier = 1.03f, LiftScaleMultiplier = 0.99f },
164+
["I-S2-V0-P2"] = new() { DragScaleMultiplier = 1.06f, LiftScaleMultiplier = 0.96f },
165+
166+
// Mid-speed iron: under-carry (very low spin)
167+
["I-S2-V1-P0"] = new() { DragScaleMultiplier = 0.96f, LiftScaleMultiplier = 1.03f },
159168

160169
// Mid-speed iron: all short
161170
["I-S2-V1-P1"] = new() { DragScaleMultiplier = 0.97f, LiftScaleMultiplier = 1.02f },

addons/openfairway/physics/FlightProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public sealed class FlightProfile
101101
// --- Mid-spin Cl boost (bell-shaped lift recovery for mid-iron SR regime) ---
102102
public float MidSpinClBoostSrStart { get; init; } = 0.17f;
103103
public float MidSpinClBoostSrEnd { get; init; } = 0.31f;
104-
public float MidSpinClBoostMax { get; init; } = 0.50f;
104+
public float MidSpinClBoostMax { get; init; } = 0.45f;
105105

106106
// --- High-launch drag boost ---
107107
public float HighLaunchDragBoostMax { get; init; } = 1.24f;

assets/data/calibration/flightscope.csv

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,49 @@ s4_shot_pw_49,shot_pw_49.json,60.30,22.56,3.45,4043.8,4.96,4028.7,350.0,59.3,68.
135135
s4_shot_pw_6,shot_pw_6.json,68.69,26.10,1.07,4148.8,8.23,4106.0,593.9,78.4,83.1,4.7,38.6
136136
s4_shot_pw_7,shot_pw_7.json,76.85,25.20,3.72,6565.2,8.16,6498.7,931.8,91.1,92.6,1.5,49.5
137137
s4_shot_pw_9,shot_pw_9.json,76.60,28.64,4.92,7133.1,5.71,7097.7,709.7,0.0,0.0,0.0,0.0
138+
s5_shot_3w_35,shot_3w_35.json,107.01,10.72,9.52,3700.4,15.50,3565.9,988.7,134.5,151.6,17.1,31.0
139+
s5_shot_3w_36,shot_3w_36.json,128.27,9.51,-2.92,2613.7,-6.77,2595.5,-308.1,180.9,199.7,18.8,39.9
140+
s5_shot_3w_37,shot_3w_37.json,100.89,23.65,6.42,7893.3,7.23,7830.5,993.3,131.0,131.7,0.7,87.5
141+
s5_shot_3w_38,shot_3w_38.json,130.05,7.89,-0.57,1997.4,1.80,1996.4,62.6,171.0,200.0,29.0,28.9
142+
s5_shot_3w_39,shot_3w_39.json,129.89,11.95,-1.78,2965.3,-0.82,2965.0,-42.3,197.1,208.9,11.8,59.4
143+
s5_shot_3w_40,shot_3w_40.json,116.24,14.11,0.83,3909.1,0.36,3909.0,24.4,169.4,177.1,7.7,60.2
144+
s5_shot_3w_41,shot_3w_41.json,126.56,7.88,-0.02,2418.3,5.93,2405.4,249.7,165.8,191.8,26.0,28.8
145+
s5_shot_6i_30,shot_6i_30.json,96.45,10.09,-3.53,1644.0,5.10,1637.5,146.1,98.4,129.3,30.9,16.5
146+
s5_shot_6i_31,shot_6i_31.json,97.89,9.42,-3.68,3752.0,4.52,3740.4,295.5,109.9,130.4,20.5,20.5
147+
s5_shot_6i_32,shot_6i_32.json,90.17,9.74,-1.26,4135.2,7.98,4095.1,573.9,93.7,113.4,19.7,17.2
148+
s5_shot_6i_33,shot_6i_33.json,105.71,11.72,-1.36,3776.1,10.99,3706.9,720.0,136.7,151.9,15.2,35.0
149+
s5_shot_6i_34,shot_6i_34.json,111.13,9.31,-8.56,2637.1,-2.91,2633.7,-134.0,136.7,161.3,24.6,25.6
150+
s5_shot_7i_26,shot_7i_26.json,107.15,14.31,-2.94,4648.0,7.59,4607.2,614.2,147.4,153.9,6.5,51.9
151+
s5_shot_7i_27,shot_7i_27.json,103.35,14.05,-1.80,5084.7,13.65,4941.0,1200.1,136.6,142.8,6.2,46.5
152+
s5_shot_7i_28,shot_7i_28.json,98.45,15.21,-3.44,3446.7,6.38,3425.3,383.1,129.8,140.3,10.5,40.9
153+
s5_shot_7i_29,shot_7i_29.json,110.04,12.92,-0.51,3297.2,8.98,3256.8,514.5,150.7,163.0,12.3,42.9
154+
s5_shot_8i_22,shot_8i_22.json,100.79,15.59,-5.47,3498.0,3.50,3491.5,213.3,136.5,146.4,9.9,45.5
155+
s5_shot_8i_23,shot_8i_23.json,109.67,18.21,-0.03,3711.3,5.17,3696.2,334.5,160.9,167.2,6.3,70.2
156+
s5_shot_8i_24,shot_8i_24.json,106.67,18.22,0.20,5796.8,8.85,5727.9,891.6,147.5,150.4,2.9,72.1
157+
s5_shot_8i_25,shot_8i_25.json,96.96,18.53,-2.03,4809.3,4.30,4795.8,360.2,130.8,135.6,4.8,56.2
158+
s5_shot_9i_19,shot_9i_19.json,101.23,20.48,-2.39,4282.2,5.84,4259.9,435.9,142.6,147.2,4.6,69.2
159+
s5_shot_9i_20,shot_9i_20.json,98.52,20.39,1.42,4377.3,10.38,4305.7,788.4,136.0,140.8,4.8,64.1
160+
s5_shot_9i_21,shot_9i_21.json,90.13,20.73,0.61,6342.4,5.08,6317.5,561.6,115.3,117.5,2.2,56.5
161+
s5_shot_driver_42,shot_driver_42.json,136.11,8.71,-3.00,2154.9,-0.59,2154.8,-22.3,193.9,216.9,23.0,39.1
162+
s5_shot_driver_43,shot_driver_43.json,133.20,5.82,-6.58,2130.0,-19.69,2005.5,-717.5,154.2,192.0,37.8,18.4
163+
s5_shot_driver_44,shot_driver_44.json,123.96,12.67,1.29,3764.6,2.20,3761.8,144.7,184.7,193.3,8.6,61.9
164+
s5_shot_driver_45,shot_driver_45.json,128.90,5.14,-5.25,1634.8,2.91,1632.7,83.0,135.9,181.7,45.8,13.3
165+
s5_shot_driver_46,shot_driver_46.json,134.80,10.70,-2.42,3349.5,-6.46,3328.2,-376.8,204.1,215.2,11.1,59.2
166+
s5_shot_driver_47,shot_driver_47.json,137.20,7.11,-4.32,2596.0,-12.12,2538.1,-545.3,186.5,211.8,25.3,32.0
167+
s5_shot_driver_48,shot_driver_48.json,123.09,15.27,-4.21,4479.8,-6.82,4448.1,-532.0,184.2,189.2,5.0,79.3
168+
s5_shot_driver_49,shot_driver_49.json,123.52,18.72,3.77,5686.4,8.96,5617.1,885.3,180.1,182.6,2.5,104.1
169+
s5_shot_lw_15,shot_lw_15.json,47.74,29.72,2.34,5998.7,0.00,5998.7,0.0,41.4,45.1,3.7,21.3
170+
s5_shot_lw_16,shot_lw_16.json,52.57,37.20,5.56,5241.1,7.60,5195.1,692.9,50.6,51.8,1.2,36.6
171+
s5_shot_lw_17,shot_lw_17.json,55.36,37.35,7.30,5902.8,9.87,5815.5,1011.5,54.5,55.4,0.9,41.0
172+
s5_shot_lw_18,shot_lw_18.json,52.33,36.23,0.10,5373.7,13.17,5232.3,1224.3,50.0,51.3,1.3,34.7
173+
s5_shot_pw_1,shot_pw_1.json,48.44,29.04,5.59,4593.3,2.52,4588.9,201.9,42.6,47.8,5.2,21.0
174+
s5_shot_pw_10,shot_pw_10.json,83.58,25.18,1.37,5520.0,9.92,5437.5,950.8,105.5,107.9,2.4,59.2
175+
s5_shot_pw_11,shot_pw_11.json,76.63,21.19,2.89,5232.4,-5.55,5207.9,-505.6,89.9,94.2,4.3,37.9
176+
s5_shot_pw_2,shot_pw_2.json,57.80,26.75,2.79,4564.0,2.10,4560.9,167.5,57.9,61.9,4.0,27.4
177+
s5_shot_pw_3,shot_pw_3.json,69.78,29.37,8.09,6334.5,8.08,6271.6,890.6,79.4,80.6,1.2,48.8
178+
s5_shot_pw_4,shot_pw_4.json,68.60,29.11,3.83,6801.1,6.75,6753.9,799.5,76.8,77.8,1.0,46.6
179+
s5_shot_pw_5,shot_pw_5.json,77.39,28.89,4.54,6293.5,7.31,6242.3,801.2,93.0,94.2,1.2,60.1
180+
s5_shot_pw_6,shot_pw_6.json,76.27,28.17,3.68,5434.0,9.06,5366.3,855.3,92.3,94.4,2.1,55.8
181+
s5_shot_pw_7,shot_pw_7.json,79.68,28.14,4.44,5839.6,9.11,5765.9,924.9,97.9,99.5,1.6,61.5
182+
s5_shot_pw_8,shot_pw_8.json,76.43,28.21,1.55,5023.9,4.70,5007.0,411.9,93.4,95.9,2.5,55.9
183+
s5_shot_pw_9,shot_pw_9.json,86.42,24.09,0.20,5479.7,3.71,5468.2,354.1,111.1,113.7,2.6,60.9

0 commit comments

Comments
 (0)