I think this doesnt work cuz the pointer to object is a particle.
So PARTICLE* p = ..
And then use the ptr p to move idk if that works!