Material Friction Example

390
391
0
1

This is just a quick example of how to use the material behavior

Ground:

You can stand on the top of the main block without sliding but you will slide if you try to hang on the side.

Ice:

The Ice uses Raycasts and is constantly checking for a player, if it senses the player it will change its friction to 0.

Mud:

The mud is similar to the ice except it's the opposite, instead of changing the friction to 0, it changes it to 1000 when it senses the player.

Editor