Proplem with physic material and terrain

To be sure, you need few steps for make it working:

  1. Create list of physic materials in your project settings (physic/scroll down)

  2. create physic material assets for every single material from list - open and set what physic material from your project settings list this is

  3. set physic material to material (with landscape also you can have layers, this is harder, but see*)

  4. now make correct code to read physic material from steeps for example, I use switch

  • if you have auto terrain with layers, go to landscape/paint/select layer → right mouse click → select physical material.
    (this is from memory, if something not working I can update later.