I'd like to attach an object to a player's image point and stay with the player as it moves left and right.. but I want the y object to move in a negative motion. Giving the illusion of it floating up. I've gone through several attempts and have gotten the object to spawn, set itself to the player, and move up.. but only keeping the initial x position that it started.
Any help would be appreciated.
what is negative motion?
danuyos Bad wording on my part. I meant going up the y axis, which a negative value.
korbaach Thank you, I will definitely check it in the morning. (In bed on my iPad now)
Develop games in your browser. Powerful, performant & highly capable.
Every tick Object.X = Player.X; Object.Y = Object.Y+1
korbaach That is an awesome example! I've been wanting to have an excuse to try lerp out. Thank you for that applicable example for me to use.
bladedpenguin Trying that out now!
Thank you for the responses.
yeah..lerp is cool