changed particle speed from frame based to time based