Laser remover

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Laser remover

Postby sbrown » Tue Sep 22, 2009 2:07 am

Is it possible to remove something when a laser hits it?

I want it so that if a laser hits the box, then the box dissapears. I want it to be done on the box-side, with onhitbylaser.
admin wrote:I get the impression that this fellow is not best friends with the community since he is trumpeting out the secret phunland community discount to the world. I sense evil.
User avatar
sbrown
 
Posts: 51
Joined: Wed Sep 02, 2009 7:42 am

Re: Laser remover

Postby standardtoaster » Tue Sep 22, 2009 2:32 am

Code: Select all
onHitByLaser = (e)=>{e.this.density = 0}

That's what you want right? :|
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Re: Laser remover

Postby sbrown » Tue Sep 22, 2009 2:49 am

standardtoaster wrote:
Code: Select all
onHitByLaser = (e)=>{e.this.density = 0}

That's what you want right? :|


ya thanks
admin wrote:I get the impression that this fellow is not best friends with the community since he is trumpeting out the secret phunland community discount to the world. I sense evil.
User avatar
sbrown
 
Posts: 51
Joined: Wed Sep 02, 2009 7:42 am


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest