Advertisement

A General Recast/Detour Question

Started by April 14, 2014 09:08 AM
1 comment, last by lucky6969b 10 years, 4 months ago
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


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. ?

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

This topic is closed to new replies.

Advertisement