Trail
self:set_width
ClientSets the width of the trail at its start
Syntax
local status = self:set_width(
width
)Parameters
| Type | Name | Description |
|---|---|---|
float | width | Trail width at its start in world units, it thins out to nothing at the end |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.trail.create()
entity:set_width(0.08)