Alice Community Sinking

 Sinking
 Laur07 Junior Member   Status: Offline Posts: 11 Join Date: Jun 2011 Sinking - 06-13-2011, 01:34 AM So my wolf who is supposed to be chasing a bunny sinks into the ground more and more as it moves until it is entirely swallowed up by the ground. I have read all the posts here about it and tried everything and the wolf just keeps sinking, does anyone know a solution ?
 Maybe!
 MrMoke Senior Member     Status: Offline Posts: 501 Join Date: Sep 2007 Location: Austin, Texas Maybe! - 06-13-2011, 07:04 AM You probably moved the wolf around too much when setting up the scene. Try right-clicking on the Wolf button in your world, and use the "Orient to Ground" method.
 Laur07 Junior Member   Status: Offline Posts: 11 Join Date: Jun 2011 06-13-2011, 01:26 PM I tried that but he starts to move backward then ? He is supposed to be chasing the bunny but when i used your method he moves towards the bunny backwards ... And he is still sinking for some reason Last edited by Laur07; 06-13-2011 at 01:29 PM.
David B
Senior Member

Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
06-13-2011, 03:59 PM

Quote:
 Originally Posted by Laur07 I tried that but he starts to move backward then ? He is supposed to be chasing the bunny but when i used your method he moves towards the bunny backwards ... And he is still sinking for some reason
I'll try looking for a solution.

 Hmm
 MrMoke Senior Member     Status: Offline Posts: 501 Join Date: Sep 2007 Location: Austin, Texas Hmm - 06-13-2011, 04:08 PM Another possibility is that you are using the moveTo or moveToward method. If you click on the Wolf, notice where the three axes( converge. Now click on the Bunny, notice the same. Doing a moveToward or moveTo moves the center points together. Try moving the Bunny to the Wolf to see the inverse. Look for the distanceTo Function for the Wolf instead. Last edited by MrMoke; 06-13-2011 at 04:14 PM.
 TauTrumpsPi Senior Member     Status: Offline Posts: 399 Join Date: Mar 2011 Location: The diamond layer 06-13-2011, 04:27 PM Code: ```Do together { Loop infinity times {Wolf orient to ground } do in order { (THE REST OF YOUR METHOD HERE) } }``` Try that -------------------------------------------------------------------------------------------------------------------------- I have plenty of common sense. I just choose to ignore it. -Calvin and Hobbes Wondering about my Avatar? http://en.wikipedia.org/wiki/Tardigrade Wondering about my username? http://www.youtube.com/watch?v=jG7vhMMXagQ
 Laur07 Junior Member   Status: Offline Posts: 11 Join Date: Jun 2011 06-13-2011, 10:21 PM Yeah so the wolf has to chase the bunny, and i have made up my own method in order to make the wolf take a step but he moves towards the bunny obviously because he has to chase it. Is this why he is sinking? Because of the "towards" option maybe ? I am trying the last suggestion, thank you, but i am having no luck so far :S
David B
Senior Member

Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
06-14-2011, 09:18 AM

Quote:
 Originally Posted by Laur07 Yeah so the wolf has to chase the bunny, and i have made up my own method in order to make the wolf take a step but he moves towards the bunny obviously because he has to chase it. Is this why he is sinking? Because of the "towards" option maybe ? I am trying the last suggestion, thank you, but i am having no luck so far :S
It's quite possible. Try having the wolf move forward instead of toward the bunny.

 ebarrera Junior Member   Status: Offline Posts: 8 Join Date: Jun 2011 Location: Texas 06-14-2011, 02:36 PM You may want to try using the Quad View Tool at the top right corner of your screen, to make sure the wolf is at ground level. Also check that wolf is not inclined. If there is any incline, this would cause the wolf to sink into the floor as he walks. This is my best guess. I hope it helps.
David B
Senior Member

Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
06-14-2011, 05:55 PM

Quote:
 Originally Posted by ebarrera You may want to try using the Quad View Tool at the top right corner of your screen, to make sure the wolf is at ground level. Also check that wolf is not inclined. If there is any incline, this would cause the wolf to sink into the floor as he walks. This is my best guess. I hope it helps.
I am currently making an example world for you. I'll post it once I finish making it.

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge