기술 자료

Unity Engine

Unity Engine

GetDynamicFriction(int)

Get the value of the dynamic friction for a specified contact point in this contact pair.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters

Index of the contact point.

Returns

Type

Description

floatDynamic friction coefficient.

Remarks

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