Szpiku
Member
|
Control character by clicking on terrain
Hi everyone.
I'm little lazy guy and I have issue I want you to explain me the best solution.
I need to control my character by mouse clicking on world. Character should avoid obstacles and other players, characters(I mean dynamic objects). I know there is something like waypoint. I wanted to try to make dynamic waypoint while clicking for my character but I read that it doesnt avoid dynamic obstacles(oh rly?) but there is physics so colliders wouldn't resolve this problem?
After all my main question is: how to get(x,y,z) from mouse click on screet ![pfft pfft](images/smilies/pfft.gif) I mean real coordinates on terrain where I clicked
|
|
07-12-2014 12:52 PM |
|
SamerK
Member
|
RE: Control character by clicking on terrain
Hi, look at the pathfinding tutorial under Game Basics.
|
|
07-12-2014 01:57 PM |
|