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 11 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsShape.SurfaceMaterial surfaceMaterial { readonly get; set; }