Vertlet Springs vs AttractionBehaviours
in
Contributed Library Questions
•
1 years ago
Hi,
I'm getting started with toxiclibs and I have a question about whether to use springs or attraction.
I'm trying to show four separate clusters of nodes grouped around different points. I'd like to have each node 'attracted' to the centre of its cluster and also slightly repelled from other nodes to avoid overlap.
Should I be using springs to attach all the different nodes to their cluster's centre? Or, can / should I be applying an AttractionBehaviour that would attract a cluster's nodes to the centre?
Thanks
Steve
1