yalibian / CrowdSPIRE

CrowdSPIRE: Crowdsourced based StarSPIRE
1 stars 1 forks source link

Rect collision detections don't work well based of the changing size of documents rectangles #1

Closed yalibian closed 7 years ago

yalibian commented 7 years ago

I will use Collision Detection, to make sure not rectangles overlay each other.

yalibian commented 7 years ago

Another solution is providing a bigger repulsion if the node area is large.

yalibian commented 7 years ago

Make my own Collision Detection, instead of using the basic one. But the basic radius one should also work!!!!

yalibian commented 7 years ago

Should test the radius based on x, y, instead of doing it based on unfixed bug

yalibian commented 7 years ago

Fixed the bug using: forceCollide.initialize(simulation.nodes());