Making OnLaserhit only apply when the laser hits water.

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

Making OnLaserhit only apply when the laser hits water.

Postby sb360 » Thu Sep 29, 2011 6:03 pm

Is there a way to only activate the OnLaserHit code when the laser strikes water, I am attempting to make a spawn engine and want to use water as "fuel" that causes an explosion when it comes into contact with my laser "Spark Plug", but need to stop the laser from causing explosions when it hits anything else.

Thanks in advance for any help.
sb360
 
Posts: 2
Joined: Mon Sep 28, 2009 6:40 pm

Re: Making OnLaserhit only apply when the laser hits water.

Postby monstertje3 » Fri Sep 30, 2011 7:21 am

let it only collide water? :wtf:
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: Making OnLaserhit only apply when the laser hits water.

Postby Kilinich » Wed Oct 05, 2011 11:20 pm

no. but you can use something like that
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 3 guests