Laser reciever
3 posts • Page 1 of 1
Laser reciever
I want to make a lazer, and a receiver (a box). I want it so that when the laser beam is blocked by anything, it changes scene.my.speed to 0, and when it's not blocked, I want scene.my.speed 4.5.
Any ideas how to do this:?:
Any ideas how to do this:?:
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.
-
sbrown - Posts: 51
- Joined: Wed Sep 02, 2009 7:42 am
Re: Laser reciever
Phundamentalists, come to the dark side.
We have much cooler toys.
We have much cooler toys.
-
RaRaMalum - [Best newcomer 2010]
- Posts: 280
- Joined: Mon Aug 31, 2009 10:47 pm
Re: Laser reciever
Thanks. I found a easier way to do it:
- Code: Select all
oncollide = (e)=>{scene.my.speed = 0}
onhitbylaser = (e)=>{scene.my.speed = 4.5}
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.
-
sbrown - Posts: 51
- Joined: Wed Sep 02, 2009 7:42 am
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests