This commit is contained in:
VG-prog 2025-09-24 22:00:57 +02:00
parent 3b98fbeb94
commit ad8cd929fd

View File

@ -811,6 +811,6 @@ float GridTerrainData::GetHeightAccurate(float x, float y, float radius, GroundF
totalSlope = blend * slopeL2 + (1.0f - blend) * (INV_SQRT2 * slopeL1);
}
// Altura final (Minkowski): base + radio * pendiente
// Final height (Minkowski): base + radius * slope
return zPlane + radius * totalSlope;
}