I am currently working on a game where I want knights to follow you once you purchase them, but i want them follow eachother without stacking? Anybody had an idea how to do it. Making them solid objects isn't working
Here's one way to do it. Namely event 4. The rest is physics and such which isn't needed.
Basically it treats the objects as circles and moves them away from each other if too close. Works between object of the same type. You can change the radius in the set dist action. Currently it uses 24 but you can change that.
dropbox.com/s/mlm73dkgtjvvw42/againstTheCrowd.capx
I didn´t complete fix my problem, but it is a lot better, so for the time being this is a good solution! thank you for the help
Develop games in your browser. Powerful, performant & highly capable.
You could try "push out solid" behaviour.
You can download it from the plugins page.
groetjes
R0J0hound This is really awesome!