Closed yalibian closed 7 years ago
Another solution is providing a bigger repulsion if the node area is large.
Make my own Collision Detection, instead of using the basic one. But the basic radius one should also work!!!!
Should test the radius based on x, y, instead of doing it based on unfixed bug
Fixed the bug using:
forceCollide.initialize(simulation.nodes());
I will use Collision Detection, to make sure not rectangles overlay each other.