Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Making the rings go away
Old
Hunterrox
Guest
 
Status:
Posts: n/a
Question Making the rings go away - 11-17-2009, 02:38 PM

I'm trying to do the exact thing as the airplane ring simulator but I don't get how. I have a moon roamer go through rings that I want to disappear when driven through. The code is if moon rover is within 2 meters of threshold of torus then torus opacity=0 but when driven through nothing happens. I've tried copying the airplane example but it hasn't worked for me
   
Reply With Quote
Old
kylefwlr
Guest
 
Status:
Posts: n/a
Default 11-17-2009, 03:24 PM

not sure if you've done this or not but try putting the if statement in an infinite loop so its constantly checking for that and then put that loop in a method that starts when the world does
   
Reply With Quote
Old
Hunterrox
Guest
 
Status:
Posts: n/a
Talking 11-17-2009, 03:43 PM

Thanks so much it worked great!
   
Reply With Quote
Reply

Tags
airplane, disappear, object, rings, torus

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.