ドキュメント

Unity Engine

Download Unity

Unity Engine

SetDynamicFriction(int, float)

Set the value of the dynamic friction for a specified contact point in this contact pair.
読み終わるまでの所要時間 1 分最終更新 1日前

Definition

public void SetDynamicFriction(int i, float dynamicFriction)

Parameters

Index of the contact point.

dynamicFriction

Dynamic friction coefficient.

Remarks

Dynamic friction slows down bodies that are sliding over other bodies.
Normally, it is between 0 and 1.