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.
Read time 1 minuteLast updated 12 days ago

Definition

public PhysicsShape.SurfaceMaterial surfaceMaterial

Remarks

This is exposed directly as a field rather than a property as it is extremely unlikely to ever change and causes usability issues as a property.