Alice Community

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

Laur07 06-13-2011 01:34 AM

Sinking
 
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 ?

MrMoke 06-13-2011 07:04 AM

Maybe!
 
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 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

David B 06-13-2011 03:59 PM

[QUOTE=Laur07;37347]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[/QUOTE]

I'll try looking for a solution. ;)

MrMoke 06-13-2011 04:08 PM

Hmm
 
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.:o

Look for the distanceTo Function for the Wolf instead.

TauTrumpsPi 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)
}
}
[/code]

Try that

Laur07 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 06-14-2011 09:18 AM

[QUOTE=Laur07;37425]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[/QUOTE]

It's quite possible. Try having the wolf move forward instead of toward the bunny.

ebarrera 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 06-14-2011 05:55 PM

[QUOTE=ebarrera;37449]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.[/QUOTE]

I am currently making an example world for you. I'll post it once I finish making it.


All times are GMT -5. The time now is 01:01 AM.

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