Vectors
Locations
Rotates a list of locations or vectors around an axis by an angle in degree.
Effect of the axis vector on the rotation
| Rotation |
Direction Vector |
| clockwise rotation around x-axis |
1, 0, 0 |
| clockwise rotation around y-axis |
0, 1, 0 |
| clockwise rotation around z-axis |
0, 0, 0 |
| anti-clockwise rotation around x-axis |
-1, 0, 0 |
| anti-clockwise rotation around y-axis |
0, -1, 0 |
| anti-clockwise rotation around z-axis |
0, 0, -1 |
Obligatory example:
With locations:
Rotates the line around the y-axis by 180 degrees as shown in the image (green particles = original, flame particles = rotated):

Note that the rotation goes clockwise. If you want an anti-clockwise rotation you have to use a negative angle. If you want to rotate around another axis than the x-, y- or z-axis you have to get a vector along that axis.
Example:
Note that this is not the same as: