Constructor
new LinearDrag(configopt)
- Description:
- Initializes a linear drag with a specified friction coefficient.
- Source:
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
config |
LinearDragConfig |
<optional> |
{}
|
LinearDrag configuration options. |
Extends
Classes
Members
drag :number
- Description:
- Friction coefficient where 0 means no drag and higher values slow particles down faster.
- Source:
Friction coefficient where 0 means no drag and higher values slow particles down faster.
Type:
- number