- Home /
Question by
bustyLaserCannon · Dec 15, 2013 at 09:54 PM ·
animation2dpolygon collider 2d
Suck in animation?
So I have a 2D game I'm working on, and when a square (the player) collides with a circle, I'd like it to have a sort of 'Suck in' animation so it gets sucked in towards the player.
Any idea how I'd do that?
Still a beginner.
Comment
We need a lot more information to give a good answer.
If you're using Physics you can simply apply a force to the objects that you want to move in the direction of the object that is doing the sucking. But, as Spinnernocholas noted, there is a lot of information missing from the question in order to formulate a meaningful, let alone technically helpful, response.