ドキュメント

Unity Engine

Unity Engine

useFriction

Should friction be used for any contact with the surface?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useFriction { get; set; }

Remarks

When false, no friction is used from any assigned physics material. When true, any existing friction is used.