x


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?

more ▼

asked Dec 21 '10 at 04:54 PM

Laprasoul gravatar image

Laprasoul
212 28 41 50

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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!

more ▼

answered Dec 22 '10 at 01:46 AM

Laprasoul gravatar image

Laprasoul
212 28 41 50

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. :)

Dec 23 '10 at 02:42 AM Laprasoul
(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Dec 21 '10 at 08:03 PM

Justin Warner gravatar image

Justin Warner
6.5k 20 28 66

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5367
x538

asked: Dec 21 '10 at 04:54 PM

Seen: 8309 times

Last Updated: Dec 21 '10 at 04:54 PM