AJ Abell Assignment 6
- by Alexander Abell
- March 3
- in
https://www.youtube.com/watch?v=eBlje0YB8JY&feature=youtu.be
This assignment was interesting because getting the logic down can take some time. I eventually got it done, but after a few unsuccessful attempts. When I put my character in the scene, I created the three states and added the Trigger Enter and Trigger Exit animations to the states. I also made a collision box around my character, which I soon learned was a mistake. I had my logic set up soundly: when I entered the collision box, it triggered my object to walk to another object, and when I exited the box the object would come back to the starting point (an invisible object). I realized that for some reason by creating the collision box around the object I want to move, something inevitably gets messed up, so I changed my strategy. I placed my collision box around the invisible starting object and made my logic there, which worked perfectly. I just chose my character as the thing that moved in the logic and that took care of all of the problems except one, which I still cannot figure out. When I start the scene, my character is standing and when I approach her she begins walking away, but she won't stop walking. So, when she gets to the second object she continues to walk in place, and when I exit out of the collision box she comes back to the starting point but still continues to walk in place. This whole this is on loop, so at anytime while she's walking if I exit the box she will turn around, but she will continue to keep walking. I tried messing around with the settings and tried stopping it on exit, and tried stopping it at different animation points, but for some reason still cannot get her to stop moving. I'm sure this is fairly easy to do, but I just cannot figure out where it is or how to do it.
COMMENTS