changes to swing trap fixed and spawn particles