I have my spirte ready and the Y position that I want the door to end up.
After the player destroys a simple object I want the door to head towards that position without simple "teleporting" by using set position.
The idea behind it is so easy, but yet I'm having trouble figuring it out. I used custom movement but it went towards that Y position and kept on going.
I tried Sine (which supposedly is the method) but no matter what I tried it just kept going up and down.
I am most likely missing something, but this is confusing me and I'd appreciate the help.
Requirement:
Object on Destroy: Move Door towards position in X amount of time.