I'm making a game inspired by pikmin, and I want to make it so my "pikmin" don't all clump together, and instead push off of eachother, I've tried the solid behavior but it just messes things up, and not how I want the game to work.
you use the behavior line of Sight and make it detect the object by proximity and if it is positive, make the other object move in the opposite direction and if not detected it continues the normal path, you need to regulate the detection radius
Develop games in your browser. Powerful, performant & highly capable.
You need to put the sprites in a family then test for overlap between sprite and sprite.family, then move the sprites back in the reverse direction until theres no overlap.