How to spawn actor with scale from other actors?

Hey,

I’m making a basic solar system model in unreal with planets orbiting the sun. I was trying make it so if two planets collide they become one planet with the mass (scale) of the two that collided.
In the planet blueprint, I made it so all planets are attracted and will move toward each other, I got stuck when two small planets collided and are suppose to spawn one bigger planet.
my first attempt was to put inside the planet blue print a “spawn actor from class” which would spawn the new big planet, the problem with this was it would spawn two new planets instead of one since
two planet blueprints where colliding with each other and both spawning a new planet. The other problem was that it would be the default small planet size because I didn’t know how to put the two scales together.

Thanks for any help.

Hi Endel, maybe something like this? Getting the scale, storing it, then later use that value (or sum of various scales), to set the scale of another actor.
cd21395150fb92e93fa517f6fae5f1e001e0a493.jpeg

Thanks for your reply, Is there a way I can plug an actor that I spawned during the game, into the get world scale node? I can’t get a reference to it since its not spawn in yet, thanks!