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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user