GPU Particles
self:set_local_coords
ClientSets whether particles move with the emitter
Syntax
local status = self:set_local_coords(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | true for particles that move with the emitter, false to leave them in world space |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_local_coords(false)