added support for particle rotation