laser oncollide e.other.density wont work?!

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

laser oncollide e.other.density wont work?!

Postby pixartist » Thu Sep 03, 2009 8:31 pm

title says it..
onLaserHit

(e)=>{e.other.density = 10}

doesnt work
Image
pixartist
 
Posts: 65
Joined: Wed Sep 02, 2009 5:30 pm

Re: laser oncollide e.other.density wont work?!

Postby standardtoaster » Thu Sep 03, 2009 8:54 pm

Try (e)=>{e.geom.density = 10}
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Re: laser oncollide e.other.density wont work?!

Postby Torn » Fri Sep 04, 2009 10:47 am

Yup, e.geom.xxxxx works - I made a thread asking about this a couple of days ago.
Torn
 
Posts: 32
Joined: Tue Sep 01, 2009 8:06 am


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 5 guests