Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


surfaceMaterial

The surface material for the shape comprising of many properties such as friction, bounciness, rolling resistance etc. Setting the surface material overrides any individual settings for friction, bounciness, rolling resistance etc.
Read time 1 minuteLast updated 13 days ago

Definition

public PhysicsShape.SurfaceMaterial surfaceMaterial { get; set; }