Forums > Java

moving objects on x,y axis

December 29, 2013 | 3:37 am

Hello to everyone,

I’m new to this forum, I have tried to move an object on both axis at the same time by changing values in two slider using thispatcher object.
I can only move it in one axis at the time sending the following message:
script move $1 100.
I tried to send both x and y axis sending the message: script move $1 $2.
I also used a message box given the $1/$2 but still object moves on x axis.

Any suggestions?

Thanks in advance


December 29, 2013 | 4:18 am

Found the answer using append and prepend objects


December 29, 2013 | 4:28 am

You can also do it this way with [pak 0 0]

<code>

– Pasted Max Patch, click to expand. –

</code>


December 29, 2013 | 4:34 am

Thanks Rick…I didn’t know pak object


Viewing 4 posts - 1 through 4 (of 4 total)