Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Constrain to face or Turn to face problems (http://www.alice.org/community/showthread.php?t=4296)

metafiction26 04-25-2010 09:54 PM

Constrain to face or Turn to face problems
 
Hi! I am having huge problems with both the turn to face and constrain to face methods.:( I am trying to make a zombie face my main character so that, no matter where the character goes, the zombie will always try to follow him...however, insted of facing the character and moving toward his direction, the zombie does this wierd thing where it shifts around for a second(as if it is confused) until it decides on some random direction to go that is no where near the direction of the character. What is the problem? Please help.:confused:

x2495iiii 04-25-2010 10:57 PM

Post your world so we can see what the problem is.

metafiction26 04-26-2010 10:14 AM

I will later:o Thanx in advance!

ranchman20 04-26-2010 11:18 AM

1 Attachment(s)
Here try this system

Its simple, but if it works, then its not a computer error.

Not to mention I thinks its funny.

metafiction26 04-26-2010 07:29 PM

[QUOTE=ranchman20;20365]Here try this system

Its simple, but if it works, then its not a computer error.

Not to mention I thinks its funny.[/QUOTE]

Thanx Ranchman! That was funny...and wierd.:p But it did work, though, so it may not be a computer error, I hope.:(

metafiction26 04-26-2010 07:36 PM

1 Attachment(s)
Some notes:

I really hope this problem is not due to my using windows vista.

I set the vehicle for the camera to the pharoah, so that the player will stay behind the pharoah.

What is [I]asSeenBy[/I] for anyway?

metafiction26 04-27-2010 10:14 AM

And also, I am wondering if what I am doing with the pharoah is affecting the zombie? Do you think?

ranchman20 04-27-2010 01:17 PM

1 Attachment(s)
I found at least 1 problem, THe Pharaoh's center is not the pharaoh himself, so the zombie wont actually face him. If you right click on the Pharaoh and get a good look at it with the camera, he camera will fly off behind him and he isnt in sight.

ANd a tip, when making turning and running buttons, right click the clicked on event, and change the event to a "while a button is held type" that will make animations smoother and your game easier because your guy will only do the action while the button is held. ANd change all actions the pharaoh does to abruptly as well.

I cant find where the zombie actually faces the pharaoh in your script, so i am not too helpful.
Lastly, your awesome at animating, good job.

I fixed up the penguin game for the heck of it, and i wanna post it.

metafiction26 04-27-2010 06:38 PM

[QUOTE=ranchman20;20419]I found at least 1 problem, THe Pharaoh's center is not the pharaoh himself, so the zombie wont actually face him. If you right click on the Pharaoh and get a good look at it with the camera, he camera will fly off behind him and he isnt in sight.

ANd a tip, when making turning and running buttons, right click the clicked on event, and change the event to a "while a button is held type" that will make animations smoother and your game easier because your guy will only do the action while the button is held. ANd change all actions the pharaoh does to abruptly as well.

I cant find where the zombie actually faces the pharaoh in your script, so i am not too helpful.
Lastly, your awesome at animating, good job.

I fixed up the penguin game for the heck of it, and i wanna post it.[/QUOTE]

Thanx so much dude! You helped me a lot!:D:D:D

jediaction 04-27-2010 08:52 PM

To bad i was not here to help. If i saw this, i woudsl of answered rigth away, i guess you dont need help now. All i can say is, Zombie = turn to face = camera or what ever obejct, loop = infininte = 0 seconds, If that helped:o


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

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