How to make Object direction smooth? (curved, etc.)

Hi, please if you can help me, how can i make object direction like in the image? i know tween is something good for this but i can’t figure it out. so can you help me? like in this image, when i will click on the object i want object moved to second spot but with similar (curved) direction, is there any easy way?

The formula to follow a curve might help. See this similar post. You could do a second tween if you need a longer straight path or add events that calculate the y if t<= say .7 but if it’s over .7 it just calculates the x and uses the last value of y. You could mix this with tweening the t from 0 to say 1.5 instead of 1.

3 Likes

This example could help:

3 Likes