S
shostifrosty
Guest
Hello everyone!
I've been struggling for several days with the objects movement through paths, and it would be awesome if someone could help me out a little with an issue I have.
What I want to do is to have pedestrians moving around in paths I specifically designed for them. So far, I could make them follow a path and face the right direction.
However I would like them to do more stuff than just eternally following one path (so the thing look more realistic and alive).
In the code above I wanted, for example, a pedestrian to follow the path, complete it, and then stop and change the animation to idle, but it just doesn't work. When the object finishes the path, the animation get stuck and stop running.
Could anyone tell me what's wrong?
Also I was thinking that maybe what I want to do can be done with something better than paths. In that case, what that could be? I'm quite newbie in all of this and I'm struggling great deal.
I've been struggling for several days with the objects movement through paths, and it would be awesome if someone could help me out a little with an issue I have.
What I want to do is to have pedestrians moving around in paths I specifically designed for them. So far, I could make them follow a path and face the right direction.
However I would like them to do more stuff than just eternally following one path (so the thing look more realistic and alive).
In the code above I wanted, for example, a pedestrian to follow the path, complete it, and then stop and change the animation to idle, but it just doesn't work. When the object finishes the path, the animation get stuck and stop running.
Could anyone tell me what's wrong?
Also I was thinking that maybe what I want to do can be done with something better than paths. In that case, what that could be? I'm quite newbie in all of this and I'm struggling great deal.
Last edited by a moderator: