Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Go back to first node of a path (itween+moveto)

Discussion in 'Editor & General Support' started by Android324, Jun 20, 2012.

  1. Android324

    Android324

    Joined:
    Jun 20, 2012
    Posts:
    6
    Hello,

    I'm new in unity and already have a problem:I'm using "moveto" to move an object through multiple paths but i need to be able to stop the object(let's say) in the middle of the path and send it back to start node of the current path; I saw that PutOnPath makes that possible but PutOnPath doesn't receives hash as param (I'm using that to trigger "oncomplete").So , is there a way to combine PutOnPath and MoveTo so I can be able to send the object where I want and meanwhile to be able to use "oncomplete"+"oncompletetarget"?

    Thanks,
    Paul S.