Is there a way to lock points so that they do not pass a particular point? even if they are bound to bones? Is it possible to write a script that could do this?
I have been looking at applying this idea to the scale rotate technique to prevent detail lines on a face going past a certain point in a head turn. You cold also use such a script to apply to pouring fluids onto a specific area. Currently trying to mask lines out is almost impossible but If you were abe to crunch down all points in a line to a small group as the bone rotated or moved it would be a lot easier to mask out.
Hi DK!
have you seen my FREEZE points script?
There is a link in my signature to the my scripts in the forum.
I hope it is what you're looking.
Best
-G
PS: Nah! you're looking for a "limit X or Y position" for points. I guess this script can be modified to do something like you need.
DK, please look again to my signature link. I've modified the scripts and now you can limit by X or by Y the movements of the points. Even using bones!!
A dropping sample. To make it vertical just rotate the layer
It is a little tricky. I've created the animation with point motion and some keyframes. But between keyframes I selected only the points that are not flatten so the rest is kept in the wall.
DK wrote:I installed the scripts but there are now lua consoles poping up every time i try to do anything in AS?
D.K
It is normal.
When you run the script it looks if the table where the points positions are stored exists. If it doesn't exists the script complains and tell you: "table layer". If it is so annoying I can remove it.
It is like a remind to you tell you that you have to store the freeze position of the points. When you do that then a bunch of info is drop to the console and the "table layer" message wont never appear (well, when you open the file again it reappears)
Remember:
ge_freeze_points.lua >>>> scripts/tools
ge_select_frozen_poins.lua >>>> scripts/menu
ge_freeze_points.png >>>> scripts/tools
and add the
DK wrote:Vern. It would be great if you could take the lua console out of the script as it makes it very hard to work in AS when there are boxes poping up.
Ahh...thanks Genete. I'll try that instead of closing it.
EDIT: This is a handy script but it seems to me that you have to maipulate each point to an x,y co-ordinate then run the freeze script so that when the shape moves through these particular co-ordinates the points will not pass?. Is this correct?
DK wrote:Vern. It would be great if you could take the lua console out of the script as it makes it very hard to work in AS when there are boxes poping up.