Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


staticFriction

The friction coefficient used when an object is lying on a surface.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float staticFriction { get; set; }

Remarks

Must be greater than or equal to zero. Natural materials will usually have a friction coefficient between 0 (no friction at all, like slippery ice) and 1 (full friction, like rubber). Values larger than 1 are possible, and may be realistic for sticky materials.