plz help me with that
Take note of object A positions (for example by adding to a list his X,Y)
After a set amount of time make object B move towards previous object A positions.
Delete reached positions from list.
i do not understand anything
the last time i did this was in c# in unity but ill try to simplify here.
basicaly you find the objects position. ill do it on the x axis.
then you find if it is > or < than the other objects position on the x axis.
if it is, then it moves in that direction.
ill try to make a example project later.