Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


A General Recast/Detour Question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 lucky6969b   Members   -  Reputation: 624

Like
-1Likes
Like

Posted 14 April 2014 - 03:08 AM

Hello, When findPath of dtNavMeshQuery returns, it fills up one of the m_smoothpath or m_straightpath buffers. But how can you tell how many steps are there inside the buffers? Thanks Jack

Sponsor:

#2 Ashaman73   Crossbones+   -  Reputation: 7876

Like
0Likes
Like

Posted 14 April 2014 - 04:09 AM


But how can you tell how many steps are there inside the buffers?

 

Take a look at the API doc of whatever API you are using. At least it would be really helpful to describe of what you are talking about. What is findPath, dtNavMeshQuery,m_smootpath etc. ?



#3 lucky6969b   Members   -  Reputation: 624

Like
-1Likes
Like

Posted 14 April 2014 - 04:18 AM

Yes, actually I found out that m_npolys returns the total number of steps as a final result. Thanks for helping. Jack




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS