Weird bug with int attribute (see ParticleSystem.cpp), but mostly done