Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TerrainData.physicMaterial

var physicMaterial: PhysicMaterial;
PhysicMaterial physicMaterial;
physicMaterial as PhysicMaterial

Description

The physic material used by TerrainCollider using this Terrain.