Thank you, specific particle IDs starting at 1 is a bug that will be fixed in the next build.
As for particle groups, they are flags set on an unsigned 16 bit integer. Each flag corresponds to a bit set. So, in binary, group 1 would be:
and group 2 would be:
And so on...
However, the conversion of those bits into a readable integer is not intuitive...so it's best to remember that groups are toggled bitflags when working with them directly. Group X is not the number X assigned to the particle's group property, but instead the Xth bit (from the right) toggled on on the 16-bit group integer. You are seeing groups 1 and 2 displayed when you assign the number 3, because
in decimal form is 3.
As for particle groups, they are flags set on an unsigned 16 bit integer. Each flag corresponds to a bit set. So, in binary, group 1 would be:
Code:
0000000000000001
and group 2 would be:
Code:
0000000000000010
And so on...
However, the conversion of those bits into a readable integer is not intuitive...so it's best to remember that groups are toggled bitflags when working with them directly. Group X is not the number X assigned to the particle's group property, but instead the Xth bit (from the right) toggled on on the 16-bit group integer. You are seeing groups 1 and 2 displayed when you assign the number 3, because
Code:
0000000000000011
in decimal form is 3.