e.this.density = 0 for Phun is Fixed?

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

e.this.density = 0 for Phun is Fixed?

Postby Rideg » Fri Jul 09, 2010 10:37 pm

Is it just my phun or does
Code: Select all
e.this.density
work in phun nowdays?

I know this is a small post I'm curious if this also works for you?
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: e.this.density = 0 for Phun is Fixed?

Postby Mystery » Sat Jul 10, 2010 3:19 am

Considering there have been no updates to Algodoo. so its just you.
e.this.density = 0 has always been unpredictable with Phun i think it was determined it won't work if the object getting deleted has some code or something.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: e.this.density = 0 for Phun is Fixed?

Postby Rideg » Sat Jul 10, 2010 8:43 pm

OKey well I made a circle with onCollide = (e)=>{e.this.density = 0} and forgot it. I noticed later that it had been deleted before ym eyes and phun didn't crash :P
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: e.this.density = 0 for Phun is Fixed?

Postby Chronos » Sun Jul 11, 2010 2:54 am

I think it also has to do with if the object is attached to others. I don't really know, since I haven't used Phun since I got Algodoo.
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


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests