
Can it Be?
Moderators: Víctor Paredes, Belgarath, slowtiger
Can it Be?
THANK YOU in advance if cheer somebody up! It'll be nice a script that can detect the position of the points of one layer to variate the movement of another, I mean , you have a layer with a ground with bulks (or a "stoned" or curved way) and a character moving left to right, you only must put two keyframes to the character layer (to move it linearly left to right and define the velocity) and then run the script to adapt the movement (aproximatelly) of the character to the ground form, It'll be very nice (and USEFULL), yes... 

Let me take a guess at what Ramon is saying. If you have an undulating piece of ground, I think what he is suggesting is that a figure should be able to automatically follow the ground contours from point A to point B. No doubt he'll correct me if I'm wrong! CIAO!!
You can't have everything. Where would you put it?
Stoned... When I wrote that I supposed that this "word" it'd bring me troubles...
Well, anyway seems that jahnocli explained EXACTLY that I wanted said, yes... THANK YOU anyway to both for your interest!
...I don't know how diffcult can be write something like this, but remember that LM said in one post (I can't remember which) that it'd be easy for a script detect the position of the points in one layer and use that information for other kind of things, and I think that this "path maker" script could be a good example...

...I don't know how diffcult can be write something like this, but remember that LM said in one post (I can't remember which) that it'd be easy for a script detect the position of the points in one layer and use that information for other kind of things, and I think that this "path maker" script could be a good example...
Okay, now I get it. Sorry about the quote, but it was too easy. Now this is collision detection again, and because I am still learning, it is not so easy. It's not just where the points are, but figuring where all the possible points in the middle of a curve that the points in the other layer can't go past that is the problem (for me). Which points are important? If you are simulating 3D perspective with 2D layers, this is a question. As usual, it is probably easier to do to use the layer origin to decide the path. Many times you are "pretending" that something in 2D is 3D, and using points might make sense if it was all flat, Pac-Man style, but not so much if it supposed to be a person walking up a path into the hills.
If it is only to have a layer to follow a path at a given speed, it might be easier (for the scripting) to draw a dummy layer that has a single line that the other layer would follow.
It sounds like an interesting problem, but my old job owes me about $12,000 that I don't think I am ever going to see so I don't think I am going to have very much time to write scripts for a while. Rent, bills, kid are all ahead of it, money has to come first right now. Bummer. But it should be do-able, and not too hard.
If it is only to have a layer to follow a path at a given speed, it might be easier (for the scripting) to draw a dummy layer that has a single line that the other layer would follow.
It sounds like an interesting problem, but my old job owes me about $12,000 that I don't think I am ever going to see so I don't think I am going to have very much time to write scripts for a while. Rent, bills, kid are all ahead of it, money has to come first right now. Bummer. But it should be do-able, and not too hard.
...7feet!! I hope that you becomes soon in millionary for you have not to work never more, and can dedicate all the time to do scripts... Well, apart of this, I only ask for a script, that like you say, can do a layer origin follow a point path at a given speed, I think that with that it'd be sufficient for now, because the other option, although better without doubt, it seems so hard to do, yes...