friction
Coefficient of friction.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float friction { get; set; }
Remarks
Friction is used to control how a collision response reduces velocity. A value of zero indicates no friction at all while higher values produce increasing friction.
Note: Both Static and Dynamic friction are supported, and this value applies to both types.