- Home /
How to move an object along a path with iTween (in javascript)
Hello I just downloaded the iTween path editor and I watched the video, but I don't know how to move an object along the path I set up in javaScript. Can someone at least give me an example in javaScript?
Answer by Rydrako · Dec 22, 2010 at 01:46 AM
Never Mind (thanks for at least trying to answer this question), I have converted my whole script into a C# script and now
iTween.MoveTo(cam, iTween.Hash("path" , iTweenPath.GetPath("camPath"), "time", time));
works!
So if you need me to convert any scripts into C# or java. Ask me and I'll see what I can do for you. :)
Answer by Justin Warner · Dec 21, 2010 at 08:03 PM
http://dkoontz.wordpress.com/2010/10/27/itween-visual-editor/
Check out the DrawPath function...
That should help at the least, check the documentation on the website too, read what each does.
Your answer
Follow this Question
Related Questions
How to move an object on a random path with iTween 1 Answer
Java wont work with iTween 2.0.44 0 Answers
Orienting to path for iTween.PutOnPath function 0 Answers
iTween Rotation not exact 0 Answers
itween path in javascript 1 Answer