Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Sinking
Old
Laur07
Junior Member
 
Status: Offline
Posts: 11
Join Date: Jun 2011
Default 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 ?
   
Reply With Quote
Maybe!
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 500
Join Date: Sep 2007
Location: Austin, Texas
Wink 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.
   
Reply With Quote
Old
Laur07
Junior Member
 
Status: Offline
Posts: 11
Join Date: Jun 2011
Default 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.
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,143
Join Date: Dec 2010
Location: The Twilight Zone!
Default 06-13-2011, 03:59 PM

Quote:
Originally Posted by Laur07 View Post
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.


██████████████████████
█░░░░░░░░░░░░░░░░░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓▓░█
█░▓░░░▓░░▓░▓░▓░░▓░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓░░█
█░▓░░░░░░▓░▓░▓░░▓░░░░█
█░▓░░░░░░░▓░▓░░░▓░░░░█
█░░░░░░░░░░░░░░░░░░░░█
██████████████████████

________________

Alice Hater? Rant Here!: http://tinyurl.com/HateAlice
   
Reply With Quote
Hmm
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 500
Join Date: Sep 2007
Location: Austin, Texas
Default 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.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 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
   
Reply With Quote
Old
Laur07
Junior Member
 
Status: Offline
Posts: 11
Join Date: Jun 2011
Default 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
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,143
Join Date: Dec 2010
Location: The Twilight Zone!
Default 06-14-2011, 09:18 AM

Quote:
Originally Posted by Laur07 View Post
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.


██████████████████████
█░░░░░░░░░░░░░░░░░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓▓░█
█░▓░░░▓░░▓░▓░▓░░▓░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓░░█
█░▓░░░░░░▓░▓░▓░░▓░░░░█
█░▓░░░░░░░▓░▓░░░▓░░░░█
█░░░░░░░░░░░░░░░░░░░░█
██████████████████████

________________

Alice Hater? Rant Here!: http://tinyurl.com/HateAlice
   
Reply With Quote
Old
ebarrera
Junior Member
 
Status: Offline
Posts: 8
Join Date: Jun 2011
Location: Texas
Default 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.
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,143
Join Date: Dec 2010
Location: The Twilight Zone!
Default 06-14-2011, 05:55 PM

Quote:
Originally Posted by ebarrera View Post
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.


██████████████████████
█░░░░░░░░░░░░░░░░░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓▓░█
█░▓░░░▓░░▓░▓░▓░░▓░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓░░█
█░▓░░░░░░▓░▓░▓░░▓░░░░█
█░▓░░░░░░░▓░▓░░░▓░░░░█
█░░░░░░░░░░░░░░░░░░░░█
██████████████████████

________________

Alice Hater? Rant Here!: http://tinyurl.com/HateAlice
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.