Moving line

wkroon's icon

Hey guys

I have a question. I want to make a line which moves between two points of which one point is fixed and the other moves. Now my problem with the current script is that it generates a new position but the line fails to recieve the new position to move.

Max Patch
Copy patch and select New From Clipboard in Max.

thanks in advance

mr_mapes's icon

Hi

There seems to be a problem in relaying the co-ords through the message boxes. For starters, using the right inlet of message merely replaces the contents and not outputing them. Also I'm not entirely sure what giving the message [position] to [lineto] does but I'm sure it's not needed. Keeping the message boxes in place, I've thrown in a [t b b b] to bang the outputs in good order. Hope this mod helps in some way.

Max Patch
Copy patch and select New From Clipboard in Max.

The last bang going to [lineto] isn't actually needed....my bad.