OnLaserHit hinges
4 posts • Page 1 of 1
OnLaserHit hinges
I am wondering if there is a way to make a hinge motor activate if a laser hits something.
If so, could you tell me the scripting needed for it? thanks
If so, could you tell me the scripting needed for it? thanks
- HiredRock
- Posts: 5
- Joined: Wed Jan 27, 2010 3:16 am
Re: OnLaserHit hinges
1)
Open the console (F11) and type: scene.my.on := false
2)
onLaserHit script:
3)
Motor script menu (the line "motor ="):
Open the console (F11) and type: scene.my.on := false
2)
onLaserHit script:
- Code: Select all
(e)=>{ scene.my.on = true }
3)
Motor script menu (the line "motor ="):
- Code: Select all
{scene.my.on}
-
KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: OnLaserHit hinges
Ok. Thanks. That really helps!
- HiredRock
- Posts: 5
- Joined: Wed Jan 27, 2010 3:16 am
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests