Builtin Library
README.md
phys.tyreCurve
Measure a WheelCollider wheel's tyre grip curve, so a tyre can be tuned by numbers: the force its tyre pushes with at a steady slip, across the road against slip angle (degrees) and, for a wheel that spins on its own (inertia above 0), along the road against slip ratio, at each load asked for (default: the load the wheel carries now, or its referenceLoad). Each sweep names its peak (the curve's peak force and the slip it is at, sampled or not) and its slide (the force at the widest slip), each also as perLoad, a share of the load, alongside gripScale, the share of its stated grip the tyre has per newton at that load (loadSensitivity). at answers pairs of slip ratio and slip angle together, the two directions sharing one grip. The curve is the one the wheel's fields state, as its solve settles on at that slip, on the surface the tyre touches now or the one surface names: a surface Physics.defineSurface defined scales every peak and the combined limit by its friction, or by the tyre's own surfaceGrip entry for it, and the answer names that surface and the surfaceGrip share. @builtin::modules.tyres holds presets of those fields. Answers in edit mode as well as play mode.