I was just wondering if it was possible to create an object that other objects will 'stick' to if they come into contact with it? If so, how would I go about this? I expect that the most difficult thing to do will to be avoid gravity spoiling things...
Essentially what I want to have is a rotating shape in the centre of the screen (possibly a triangle), and if a ball ('fired' by the player) comes into contact with it I want the ball to stick to the side of the shape, and rotate with it until the player moves the ball again. Is this possible?
Any help is appreciated here, I'm a Box2d newbie 🙂
Essentially what I want to have is a rotating shape in the centre of the screen (possibly a triangle), and if a ball ('fired' by the player) comes into contact with it I want the ball to stick to the side of the shape, and rotate with it until the player moves the ball again. Is this possible?
Any help is appreciated here, I'm a Box2d newbie 🙂