Move object via velocity to specific location

Hi, i need to ask you if in unity exist some method or function to move object to certain position only via one axis, for example only via X axis from vector.x 12 to 15. Now i have function where i checking if actual position on axis X is smaller then destination vector X, if yes, object have velocity, if its bigger, then object velocity is 0 and object stop and then same method for reverse movement, when actual vector x is bigger then startPosition, then move. but exist some easier method how to do this easier?

Thanks :slight_smile:

iTween makes it easy to move objects around - iTween for Unity by Bob Berkebile (pixelplacement)

1 Like

Thanks a lot, working like a charm :slight_smile: