Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Thread Tools Display Modes
Randome movement of rings
Junior Member
Status: Offline
Posts: 8
Join Date: Jul 2017
Location: Grand Prairie, Tx
Default Randome movement of rings - 08-03-2017, 03:21 AM

On lab three I got the code out for the collision of the cone and ring with no problem. My issue was the up down movement and the random placement in the world. I had that ring shooting all over the place and any time it came down it found just one location to do so. A void moving the ring to the ground. It will always go to one section of the ground in the world. Best to just use Move Up and Move Down. I had issues with the ring staying off the view of the camera. I set up boundary limitations and had the right left movements reset its variable so that it would find its way back to the center of the world. If anyone is having a hard time with the scoring you should go back to your code for assignment 6 with the counting of bottles.
Reply With Quote
Status: Offline
Posts: 30
Join Date: Jul 2017
Default 08-03-2017, 09:52 AM

Did you use dummy rings to anchor the actual ring back to the starting position? Where did you find this collision code at in the book?
Reply With Quote

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