GPU Particles
self:is_local_coords
ClientChecks whether particles move with the emitter
Syntax
local result = self:is_local_coords()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if particles move with the emitter, false if they are left behind in world space |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:is_local_coords())