ドキュメント

Unity Engine

Unity Engine

SetStaticFriction(int, float)

Set the static friction coefficient at a particular point of the contact pair.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void SetStaticFriction(int i, float staticFriction)

Parameters

Index of the contact point.

staticFriction

The static friction coefficient at a contact point.

Remarks

Normally, the static friction coefficient is between 0 and 1.