Change AirFrictionMult by Collide

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

Change AirFrictionMult by Collide

Postby Thooto » Sat Mar 26, 2011 2:14 pm

Hello, I didn't found my answer in other posts, so I put this question.

I'd like to know how we can do to, when it is collided, make an object have an higher AirFrictionMult.
For example, I create two boxes, I want one of them have, by colliding the second, a higher AirFrictionMult, so in the scriptbox of the other one, in OnCollide, what do I have to tip?

Thank you for your answers, and sorry for my bad english!
Last edited by Thooto on Sat Mar 26, 2011 2:17 pm, edited 1 time in total.
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm

Re: Change AirFrictionMult by Collide

Postby Chronos » Sat Mar 26, 2011 2:16 pm

{e.this.AirFrictionMult = PutYourNumberHere}
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Change AirFrictionMult by Collide

Postby Thooto » Sat Mar 26, 2011 2:17 pm

Thank you!
Thooto
 
Posts: 45
Joined: Sat Mar 26, 2011 2:02 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests