About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Control character by clicking on terrain
Author Message
Szpiku Offline
Member

Post: #1
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 I mean real coordinates on terrain where I clicked
07-12-2014 12:52 PM
Find all posts by this user Quote this message in a reply
SamerK Offline
Member

Post: #2
RE: Control character by clicking on terrain
Hi, look at the pathfinding tutorial under Game Basics.
07-12-2014 01:57 PM
Find all posts by this user Quote this message in a reply
Post Reply