Search public documentation:
show terraincollisionat the console prompt. When enabled, the terrain mesh at the collision tessellation level will be displayed as a red overlay as in the following screenshot.
NOTE: There will be plenty of spots where Z-fighting will occur and you will see flashing while moving with this mode enabled. This will likely not be fixed by using a bias as the intention is to show the actual collision vs. render mesh differences. Consider flashing as a good sign in this case – it means your collision and render meshes are extremely close if not exact. In order to allow for viewing collision meshes that appear under the terrain, the rendering methods can be swapped. When switched, the terrain itself will render with the red overlay while the collision mesh will render with the actual terrain materials. This can be accomplished by typing
togglecollisionoverlayinto the command prompt or console. The following screen shot shows a hill in the default mode (with the collision as the red overlay):
The collision plane is obviously below the peak of the hill, and thus not rendered. By entering
togglecollisionoverlayinto the command console, the two swap materials, and the result is the following:
Repeating the command will toggle the overlay back to the collision mesh.