Created by: portnov
This adds a parameter into "Vector attraction" node, used when "attractor type" is "Point". It determines how attraction force is calculated when several points are used as attraction centers. Available modes are:
- Average: calculate the force towards each center, and then take the average of them. This is more physically correct, and this is was old behavior. And now it is the default one.
- Nearest: calculate the force towards the nearest of the attraction centers. This may give nicer results in some cases.
Preflight checklist
Put an x letter in each brackets when you're done this item:
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.