Sticky Grinds: the dial reaches the air reach too, so 0 is no lock-on

The Grind lock-on dial drove only the ground lock-on values; the reach from the
air (physicsgrindsair.maxdist*, physicstrajectory.scoregrind) stayed stock, so
at 0 the board was still pulled onto rails in flight (over a gap, over water).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
andrewnakasandClaude Opus 5.5 committed 2026-10-21 11:51:39 -06:00
1 parent c919586d21
commit 76a2332771
1 file changed
+5 -1
+5 -1
View File
@@ -494,7 +494,11 @@ const std::vector<BuiltinPreset> &builtin_presets() {
{"physicsmode.wipeout_ acceleration", true, 3.0}, {"physicsmode.wipeoutcheckforbadlanding", false, 0.0}}},
{"Sticky Grinds", "Grinds lock on from further away and at higher speeds.",
{{"physicsmode.grindlockdist", true, 2.0}, {"physicstrajectory.grindmaxspeedsqr", true, 4.0},
{"physicstrajectory.grindmaxspeeddownontogrind", true, 2.0}, {"physicstrajectory.grindlandingmaxangle", true, 2.0}}},
{"physicstrajectory.grindmaxspeeddownontogrind", true, 2.0}, {"physicstrajectory.grindlandingmaxangle", true, 2.0},
// The reach from the air: without these a dial at 0 still pulls the board onto an edge in flight.
{"physicsgrindsair.maxdist50_50", true, 2.0}, {"physicsgrindsair.maxdist5_0", true, 2.0},
{"physicsgrindsair.maxdisttipslide", true, 2.0}, {"physicsgrindsair.maxdistboardslide", true, 2.0},
{"physicstrajectory.scoregrind", true, 2.0}}},
{"Slick Grinds", "Grinds and slides keep their speed.",
{{"physicsgrind.commonfrictionscalar", true, 0.4}, {"physicsgrind.curbfrictionscalar", true, 0.4}}},
{"Smooth Surfaces", "Rough ground rides like polished concrete.", {{"physicsmode.makesurfacessmooth", false, 1.0}}},