Posted June 06, 2020 by koalefant
#physics #distance field
Terrain normals (used for physical contacts) are way more stable now.
Red - old one using naive signed distance field gradient.
Green - using convex hull of local terrain fragment generated with Graham scan.