stuck on lab 3
I cannot figure out how to do the counter for lab 3 ring catch game. Somebody please help.
|
I'm guessing that you studied something called collision detection in that chapter, so the simple solution would be to add one to your counter if the ring is within a certain distance of the cone when it lands. I guess the distance would be up to you, as well as the speed of the drop.;)
|
updated
so I updated the ring's proximity to the cone but how do I get the actual 3D-Text to change from 1 to 10?
|
1 Attachment(s)
Here is an example of adding numbers, depending on what kind you are using it will give decimal and integer values.
|
The answer involves converting the counter to a text string because that's what goes into a 3DText. There is a world function called "(what) as a sting" that you can drag in, and then replace (what) with the name of your counter.
|
counter
Thank you for your advice. I think I have it now. :)
|
All times are GMT -5. The time now is 05:14 AM. |
Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.