The thing is, I don't want a random scatter, I want the angle to be a push originating from the Touch position outwards.
I don't think random() would help that, am I right?
I have a Touch event, which gives me Touch.X and Touch.Y, and 2 instances of the same object, each on a distinct X and Y position.
I tried to calculate:
On Touch event:
Apply Physics impulse 1 at angle:
angle(Touch.X, Touch.Y, boss.X, boss.Y)
But it does not consider the 2 instances of the boss Sprite independent X and Y coordinates, which is what I am aiming for.
Please advise.