laser color on geometry collide
2 posts • Page 1 of 1
laser color on geometry collide
i was making a scene involving a juicer and i accidentaly came upon a script. i typed it into the laser hit box and every time the laser hit a box or other polygon the laser would become that color. can anyone tell me what script i used because i cant remember what it is.
also what could i use it for?
also what could i use it for?
- bosiefus
- Posts: 5
- Joined: Sat Jun 04, 2011 4:58 pm
Re: laser color on geometry collide
The script you want is this:
When it goes into the onLaserHit or onHitByLaser box, it should look like:
- Code: Select all
e.laser.color = e.geom.color
When it goes into the onLaserHit or onHitByLaser box, it should look like:
- Code: Select all
(e)=>{e.laser.color = e.geom.color}
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests