Page 1 of 1

Multiball - Return to default position after release

Posted: 31 Dec 2015 13:51
by L8Bit
I realise this may be very simple to do, but after hours of trawling through search results, I am still no closer to the answer.

I wish to have a multiball module with a single ball which resets back to position 0x0 when let go of the ball.

How would I accomplish this?

Thanks in advance!

Re: Multiball - Return to default position after release

Posted: 01 Jan 2016 16:57
by MrCorba
This is indeed a very simple problem ;)

The MultiBall has a 'z' attribute which keeps track of touch. If you touch the object z=1 and if you release z=0. So if you create a script set to On Expression z, and set it to reaches zero, the script will be executed when you release the object.

Now just put something in the script like x=0 and y=0, and you should be ready to go.

Cheers!