Trail
self:translate_local
ClientTranslates the trail by an offset relative to its own local axes
Syntax
local status = self:translate_local(
offset
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | offset | Translation offset to apply in local space as {x, y, z} |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.trail.create()
entity:translate_local({0, 0, -1})