I have a VERY simple process I'm trying to do, but I'm really struggling. I have a super simple prototype I'm building where a pillar constantly rises, and you have to shoot it to make it go back down for a moment, then it starts to rise again. Simple, right?
I'm having a lot of trouble finding a tutorial on this. Every tutorial I find talks about "moving platforms", slaps on Sine on an sprite and calls it a day. I just need it to go up at a fixed rate, go down when hit, then continue going back up. Any assistance you could offer would be GREATLY appreciated. Thank you.