Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Ring Toss (http://www.alice.org/community/showthread.php?t=7519)

meelabean 11-07-2011 06:53 AM

Ring Toss
 
I am having the hardest time figuring out how to track which rings are caught and which ones aren't (chapter 4, exercise 4.9). Any suggestions would be much appreciated. Thanks!:)

Centuri0n 11-07-2011 09:21 PM

Function
 
Have you tried using a function to measure the rings distance to the target?

meelabean 11-08-2011 08:46 PM

Re: Function
 
1 Attachment(s)
[QUOTE=Centuri0n;43196]Have you tried using a function to measure the rings distance to the target?[/QUOTE]

Yes, I think I have it framed right, but I am missing a step. I have tried every function possible, but it is still not registering when the ring "misses" the cone. I have attached the program, I just need to figure out what step I am missing. Any suggestion are appreciated. Thanks for taking the time to reply!

agoldman 11-20-2011 12:13 PM

1 Attachment(s)
:) is this what you wanted?


All times are GMT -5. The time now is 09:34 PM.

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