DudeAwesome Posted May 1, 2014 Share Posted May 1, 2014 how to get the position of the "next" point when a entity is using a navmesh and is going to a position. e.g. I have a character and it is going to position X navmesh is finding a path and the character is following the path points. here i need the next point my character is going through because I would like that I looks in the direction where he is going Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
YouGroove Posted May 1, 2014 Share Posted May 1, 2014 The direction is automatic if you use Navmesh GotoPoint() function. http://www.leadwerks.com/werkspace/files/file/528-move-character-to-mouse-position/ Quote Stop toying and make games Link to comment Share on other sites More sharing options...
DudeAwesome Posted May 1, 2014 Author Share Posted May 1, 2014 I dont want it automatic I would like to use those points also for other stuff it would also help when I could get a array of the points Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
Einlander Posted May 1, 2014 Share Posted May 1, 2014 This might be of help, http://www.leadwerks.com/werkspace/topic/7958-navigation-without-physics/ they find a have mesh function in the c++ API that gives you points. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.