1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-29 17:45:22 +01:00

Clarify documentation regarding particlespawner's attract.strength parameter (#16726)

This commit is contained in:
Andrii Nemchenko
2025-12-28 16:30:50 +02:00
committed by GitHub
parent caa36c24d6
commit 3b30e131ce

View File

@@ -11861,9 +11861,10 @@ Types used are defined in the previous section.
surface `origin` designates a point in world coordinate space. use this
for e.g. particles entering or emerging from a portal.
* float range `strength`: the speed with which particles will move towards
the attractor shape. If negative, the particles will instead move away from that
point.
* float range `strength`: a factor that determines the speed with which particles
will move towards the attractor shape. If negative, the particles will instead
move away from that point. The actual speed is the product of this parameter and
the particle's initial distance from the attractor's origin.
* vec3 `origin`: the origin point of the attractor shape towards which particles will
initially be oriented. functions as an offset if `origin_attached` is also