Remove all AttractionBehaviour from a sketch ?
in
Contributed Library Questions
•
8 months ago
physics.removeBehaviour() lets me specify a behaviour but how do i reference all behaviours current in the sketch.
I have lots of Attraction Behaviours being created causing the particles to be attracted no problem but i want a keypress to remove all so that the particles will have no attraction and just drop.
Im struggling to figure the syntax using the javadocs.
1