matter-js
matter-js copied to clipboard
Why does the attractor only work on one of the two BODYs?
The attractor works for BODYs created via Composite.stack(), but does not apply to BODYs created with Body.circle().
So I moved the bunny(BODY) creation code later than wind(attractor). After that it worked.
Does the order of Composite.add() functions have any effect?
The image below shows the code when successful.
The image below shows the code when it fails.
Why is this happening? Is there a way to set this up myself?
Check label user Is not a thermodinamical issue, at all