I'm working on a variation of the Newton's lab from the book senarios, and I already made it so that if planets touch, they morph into one big planet. Now I'm trying to make it so that if the planet size becomes over 25, it splits into tinier planets who go their own way, but I'm kinda stuck, I tried modifying the code from the astroids (where the asteroids go half the size if they get hit by a bullet) but I got completely lost. Now I'm just stuck with this and I really can't figure out what I should do...
private void breakUp()
{
if(size > 25)
{
}
}
