Emitposoffset - Guide to the particle script command parameter
Using this script parameter you can offset the location of a particle from the base location (The centre of a coordinate or cube).
Take the cube in picture above for example, it is exactly 1 cubic centimetre (1cm^3). From the exact centre there is 0.5m to edge of the cube along any axis (X,Y and Z).
The parameter allows to move within an axis with positive(+) and negative(-) values.
The input allows for 2 commas and 3 values [x,y,z], values support multiple decimal places.
[0.1,0,0] moves particle along positive range of the X
axis 0.1m (effectively shifting it right
[-0.1,0,0] moves the particle along the negative of the X
axis 0.1m (effectively shifting it left
[0,0.1,0] moves particle along positive range of the Y
axis 0.1m (effectively shifting it upwards
[0,-0.1,0] moves the particle along the negative of the Y
axis 0.1m (effectively shifting it downwards
[0,0,0.1] moves particle along positive range of the Z
axis 0.1m (effectively shifting it towards
the player when front facing)
[0,0,-0.1] moves the particle along the negative of the Z
axis 0.1m (effectively shifting it away
from the player when front facing)Key notes
- The values of offset can exceed 0.5 along any axis but will cause the particle to be located in another coordinate, it is recommended to take this in to account when specifying both the [Size] and [Emitposoffset] parameters for the Particles script command.
A particle of size [0.5,0.5,0.1] would clip into a block if offset by [0,0,0.49] however a size of [0.5,0.5,0.01] would not clip into another block(if present) or coordinate.
- Keywords are in bold
: An unoccupied space of 1 cubic centimetre with an coordinate within the map.
It's worth noting, You can get freakishly precise with sizing and offsetting. The last time I checked, I got down to 1/10th of a micrometre in size.