기술 자료

Unity Engine

Unity Engine

GetStaticFriction(int)

Get the static friction coefficient at a particular point of the contact pair.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float GetStaticFriction(int i)

Parameters

Index of the contact point.

Returns

Type

Description

floatThe static friction coefficient at a contact point.

Remarks

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