iTween : Move Just a Small Portion of a Path?

Hello, I just purchased the iTween "Using PutOnPath and PointOnPath" example! I plan on purchasing more examples as they become relevant. Someone can point me in the general direction please!

My entire game takes place on a platform. Performing tasks on the platform moves the platform upwards. I would like to change this to iTween, and make it so that performing tasks moves the platform a PORTION of the way along a loooooong path (that is a loop)!

So: What is the best way to smoothly move an object for 2 seconds (at a fixed speed) along an endless (looping) path and then smoothly stop it wherever it happens to be?

(should I use putonpath? pointonpath? waypoints? visual editor with some fancy javascript? "Path-constrained Characters"? etc.)

THANKS!

p.s. I figured out how to do this without iTween by creating an animation and playing it for a few seconds, but iTween looks like a powerful way to make much more elegant curves!

The answer was that it indeed was NOT possible. iTween moves things from one node to another node, and isn’t intended to stop things in between nodes.

drag ur iTweenPath script to camera or an empty game object and set the nodes u needed.....if u need more number of nodes edit in iTweenPathEditor 73rd line from _target.nodeCount = Mathf.Clamp(EditorGUILayout.IntSlider(_target.nodeCount, 0, 10), 2,100); to _target.nodeCount = Mathf.Clamp(EditorGUILayout.IntSlider(_target.nodeCount, 0, 30(can set any no. of nodes)), 2,100); drag the nodes which we have in scene view and create ur own path........give a path name too.....default name is New Path1.....

then write a c# program(iTween Path editor is in c sharp thats y..... if u have it in .js create a .js program) as,

void Start () { iTween.MoveTo(gameObject, iTween.Hash("path" , iTweenPath.GetPath("CamPathForward"), "time" , 10, "easeType", iTween.EaseType.easeInOutSine, "isLocal", true)); }

place the script in the object u wanna move.......

if u place this script other than the object u wanna move declare a game object at first and drag it in inspector, then change gameObject - name of ur game Object CamPathForward - name of the path i have created

if u wanna move the object for a small portion of the path (means till a particular node)get the particular node as it destination or place reduce the path length