ドキュメント

Unity Engine

Unity Engine

staticFriction

The friction coefficient used when an object is lying on a surface.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.