How to stop spheres from standing on top of each other?

I have a problem, I need to spawn spheres in the same place but they will be on top of each other and will not roll. I don’t need to spawn them in other places. Help

Do we know sphere size upfront? Are all of them the same size? If so:

If not so, do tell.

2 Likes

Hi there,
Do you want to have spheres simulating physics?

Assuming that the spheres have “simulate physics” turned on, have the correct physics body set up, and they are set to Activate, and they still balance like this (because they are perfectly aligned,) then you need to make them slightly perturbed.
You can do this in the construction script, by adding a small random vector to the position value.
If you don’t want to do that, then you have to simulate some other source of perturbance, such as wind, or vibration.
One option is to add a small random vector as an impulse in the Event Begin Play.
Check out AddImpulse and RandomUnitVector.
And you’ll probably want “bVelChange” to be true, so you don’t have to worry about scaling by mass.

Now that I’m looking at this, it seems I suggested the exact opposite of what OP had requested. After re-reading it, I actually do not know what is needed. My bad.