Page 1 of 1

onCollide

PostPosted: Wed Sep 02, 2009 5:06 pm
by dwngme423t
I am fascinated by the onCollide possibilities in Algodoo. Can anyone help me in providing the code for me to enter into the script menu where an object onCollide is liquified. Many thanks.

Re: onCollide

PostPosted: Wed Sep 02, 2009 6:01 pm
by Versieon
e.other.liquify

Re: onCollide

PostPosted: Wed Sep 02, 2009 6:27 pm
by Sniperkasa
Versieon wrote:e.other.liquify

I would have never guessed xD Not!
That was a bit un-neccessary (not the ansver), there is an thyme tutorial wich contains many houndred codes. I'm pretty sure that would have been there.
Sorry if I sound naggy :)

Re: onCollide

PostPosted: Wed Sep 02, 2009 7:39 pm
by dwngme423t
Thank you Versieon, but I would be grateful if you would elaborate on your suggestion as I am new to Thyme scripting

Thank you for you reply Sniperkasa I have looked at the Thyme tutorials and the list of commands but found nothing that would help me,

Re: onCollide

PostPosted: Wed Sep 02, 2009 7:44 pm
by Versieon
its realy as simple as that. type in e.this.liquify in the oncollide area and when it hits soething it will liquify.

(e)=>{e.this.liquify}

Re: onCollide

PostPosted: Wed Sep 02, 2009 8:32 pm
by dwngme423t
Versieon wrote:its realy as simple as that. type in e.this.liquify in the oncollide area and when it hits soething it will liquify.

(e)=>{e.this.liquify}


Thanks for the elaqboration. The scene is a simple one with a sphere colliding with a square. The square liquifies but before the collision with the sphere. What am I doing wrongly? Please help

Re: onCollide

PostPosted: Wed Sep 02, 2009 8:34 pm
by Versieon
its probobly hiting something else, make a new scene and try it again.

Re: onCollide

PostPosted: Wed Sep 02, 2009 8:38 pm
by dwngme423t
I have now scripted the falling sphere to liquify and it works but not the other way round . Many thanks you have been very helpful. I shall direct my problems to you in future

Re: onCollide

PostPosted: Wed Sep 02, 2009 8:40 pm
by Versieon
OH NOZ!!!!!!!!!!!!!!!!!!!!! :o :o :o

Just kidding :D

Re: onCollide

PostPosted: Wed Sep 02, 2009 9:01 pm
by Sniperkasa
But I'm also allways willing to help in whatever I can :) {even if vers may know more bout thyme then me}

Re: onCollide

PostPosted: Wed Sep 02, 2009 9:59 pm
by dwngme423t
Thanks Sniperkasa I appreciated your contribution.

Re: onCollide

PostPosted: Sat Dec 26, 2009 8:50 pm
by matt28
oh meee gaush!!! All of your english fail! I mean... which country R U from?

How is it possible to stablise a hoverer? could anyone help me?

Re: onCollide

PostPosted: Sat Dec 26, 2009 9:49 pm
by RA2lover
use alot of math. yes, that's why you have those annoying tests on your school :lol:

still, there are over 9000 ways to stabilize a hover thingy -.- too much for me to list.

PS: not a very good idea to bump topics like that

Re: onCollide

PostPosted: Sun Dec 27, 2009 4:14 am
by RicH
matt28 wrote:oh meee gaush!!! All of your english fail! I mean... which country R U from?

How is it possible to stablise a hoverer? could anyone help me?

Wow, you speak stupid very fluently.