I’ve added a TerrainCollider component to my runtime-generated terrain and assigned terrainData to it, but the player character goes right through it. But collision works fine with the default terrain that was part of the Bootcamp demo I’ve been modifying.
I’ve searched unity’s site (using Google’s “site” option) but haven’t found anything.
Surely someone must know how to properly set a terrain collider via code, or know of some example code or a tutorial… hardly anything is documented.