Hello people. I have many objects on my scene. When I click on these objects, they should move to the bag. I want to share this scene basically with 2 objects,
My objects can move on green path for that purpose. This can be possible with,
item.transform.position = Vector3.MoveTowards(transform.position, target.position, Time.deltaTime*40);
However, these objects should follow like yellow path. I use C#. How can this be possible? Thanks in advance.