hello guys, how can i create a physics object that attaches itself to a solid platform (top) on screen touched and falls to the ground when when the screen is touched again?, i used -1500 to suspend it to the ceiling but i want it to drop when the screen is touched again.
Hm, I don't know the best way... but you could have a variable attached to the object. Screentaps. Add one to it each time the screen is tapped... Every tick, when screenTaps = 2, set gravity to 0... or do whatever will make it fall.
Thanks JeremyBenson 11, your idea gave birth to what i finally used.
Develop games in your browser. Powerful, performant & highly capable.
No problem, glad it helped