Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Help with Alice
Old
chrissherlin
Junior Member
 
Status: Offline
Posts: 1
Join Date: Sep 2011
Location: Ohio
Question Help with Alice - 10-02-2011, 04:23 PM

I'm working on a project for class. The idea is to:
1.) Create an accurate planetary system of the universe
2.) Add something interactive for the viewer

I already created my planetary system and every planet orbits the sun at accurate speeds. Now, my problem is this, I need to stop the planets from moving so I can allow the viewer to click on a planet. This is a problem because the planets must move, I need to know how to stop the movement when I open another event. Even if you can't help, ideas would be greatly appreciated. Thank you.


"Any fool can criticize, condemn and complain, and most fools do."
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Cool 11-03-2011, 01:17 PM

I also made a planetary system. I told Alice than when clicked on sun set world speed to 0.

I used the if then.


When mouse is clicked on sun:
if:world speed set to '0'
then: set world speed to '1'
else:set world speed to '0'

hope it helps
   
Reply With Quote
Reply

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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.