drag
The linear drag to apply to rigid-bodies.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float drag { get; set; }
Remarks
The drag coefficient is applied in addition to the standard Rigidbody2D drag coefficient to provide additional drag in the effector area.