onCollide

About advanced scenes, and the Thyme scripting language used in Algodoo.

onCollide

Postby dwngme423t » Wed Sep 02, 2009 5:06 pm

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.
dwngme423t
 
Posts: 5
Joined: Wed Sep 02, 2009 4:59 pm

Re: onCollide

Postby Versieon » Wed Sep 02, 2009 6:01 pm

e.other.liquify
User avatar
Versieon
 
Posts: 375
Joined: Tue Sep 01, 2009 4:45 pm

Re: onCollide

Postby Sniperkasa » Wed Sep 02, 2009 6:27 pm

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 :)
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem :)
User avatar
Sniperkasa
 
Posts: 493
Joined: Tue Sep 01, 2009 5:34 pm
Location: The bottom of a lake.

Re: onCollide

Postby dwngme423t » Wed Sep 02, 2009 7:39 pm

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,
dwngme423t
 
Posts: 5
Joined: Wed Sep 02, 2009 4:59 pm

Re: onCollide

Postby Versieon » Wed Sep 02, 2009 7:44 pm

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}
User avatar
Versieon
 
Posts: 375
Joined: Tue Sep 01, 2009 4:45 pm

Re: onCollide

Postby dwngme423t » Wed Sep 02, 2009 8:32 pm

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
dwngme423t
 
Posts: 5
Joined: Wed Sep 02, 2009 4:59 pm

Re: onCollide

Postby Versieon » Wed Sep 02, 2009 8:34 pm

its probobly hiting something else, make a new scene and try it again.
User avatar
Versieon
 
Posts: 375
Joined: Tue Sep 01, 2009 4:45 pm

Re: onCollide

Postby dwngme423t » Wed Sep 02, 2009 8:38 pm

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
dwngme423t
 
Posts: 5
Joined: Wed Sep 02, 2009 4:59 pm

Re: onCollide

Postby Versieon » Wed Sep 02, 2009 8:40 pm

OH NOZ!!!!!!!!!!!!!!!!!!!!! :o :o :o

Just kidding :D
User avatar
Versieon
 
Posts: 375
Joined: Tue Sep 01, 2009 4:45 pm

Re: onCollide

Postby Sniperkasa » Wed Sep 02, 2009 9:01 pm

But I'm also allways willing to help in whatever I can :) {even if vers may know more bout thyme then me}
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem :)
User avatar
Sniperkasa
 
Posts: 493
Joined: Tue Sep 01, 2009 5:34 pm
Location: The bottom of a lake.

Re: onCollide

Postby dwngme423t » Wed Sep 02, 2009 9:59 pm

Thanks Sniperkasa I appreciated your contribution.
dwngme423t
 
Posts: 5
Joined: Wed Sep 02, 2009 4:59 pm

Re: onCollide

Postby matt28 » Sat Dec 26, 2009 8:50 pm

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?
matt28
 
Posts: 7
Joined: Wed Dec 23, 2009 11:19 pm

Re: onCollide

Postby RA2lover » Sat Dec 26, 2009 9:49 pm

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
Jrv wrote:
TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.


GTFO newfgt
User avatar
RA2lover
 
Posts: 607
Joined: Mon Aug 31, 2009 8:43 pm
Location: Brazil

Re: onCollide

Postby RicH » Sun Dec 27, 2009 4:14 am

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.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
User avatar
RicH
[Funniest Person 2010]
 
Posts: 2043
Joined: Tue Sep 01, 2009 9:01 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests