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

 02kinga 10-23-2012 06:08 AM

Proximity Question

1 Attachment(s)
For my current project I have a proximity setup so when I get within a set distance of a certain object it will come to me. The problem I have is that I want it to stop chasing me when I get out of that distance.

I have given an example of what I am trying to accomplish in the attachment.

Thanks,
Aaron K

 x2495iiii 10-23-2012 11:50 AM

1 Attachment(s)
Here you go.

Having the zombie move to the camera, as you had him do, is basically asking him to teleport to the camera, making outrunning him impossible.

To make him chase you, you need to make him face the camera and move forward just a bit, but in a 0 second duration, making those tiny movements seem like one fluid motion.

The same goes for the motion of the camera. Making it move forward a tiny amount, but in a 0 second duration allows for smoother, less jerky movement. To increase the camera's speed, just increase the distance value.

Be sure to make the zombie slower than you, though, or again, outrunning him will be impossible.

 02kinga 10-25-2012 06:29 PM

[QUOTE=x2495iiii;51370]Here you go.

Having the zombie move to the camera, as you had him do, is basically asking him to teleport to the camera, making outrunning him impossible.

To make him chase you, you need to make him face the camera and move forward just a bit, but in a 0 second duration, making those tiny movements seem like one fluid motion.

The same goes for the motion of the camera. Making it move forward a tiny amount, but in a 0 second duration allows for smoother, less jerky movement. To increase the camera's speed, just increase the distance value.

Be sure to make the zombie slower than you, though, or again, outrunning him will be impossible.[/QUOTE]

Thanks for your help, was very useful!

Aaron K

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