Determinate that "ogre move" reached destination

DiBi

Member
How could I know in script that "ogre move" command reached its destination?
I know point name, so if any function like "ogre move getPointName" exists it would be easy.

My goal: I want to release target once I've reached destination (by "press esc"; btw is there any better way?).
 
Last edited:

DiBi

Member
Oh, found out that OgreNav is opensourced lib and can be used directly in code, so no need to call "orge move". Now I'm using synchronous "call OgreNav".
 
Top Bottom