Spiral attraction

I’ve made a simple unity project where objects with a tag will be attracted to an empty game object of mine. The only issue is I want them to swirl around the object and gradually go into it, it’s perfect aside from missing the swirl. Kind of like an a whirlpool effect, how would I make it do that?

Hi there,

My guess is that you can add another force to the object attracted… Apart from the force to the center of the Spiral. You can add a force to the left or right of the object, depending on wether you want to swirl leftwards or rightwards.

The force to the center of the spiral should be greater or equal to the lateral force.

I am assuming you are using Rigidbodies… If not, your goal is the same, trying to make a lateral movement in addition to the current movement.

Hope it helps.