Created
August 27, 2019 22:40
-
-
Save CedricGuillemet/b1e223e539e2e6af65b454487cf92082 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface NavMesh { | |
void NavMesh(); | |
void destroy(); | |
void build([Const] float[] positions, [Const] long positionCount, [Const] long[] indices, [Const] long indexCount, [Const, Ref] rcConfig config); | |
[Value] DebugNavMesh getDebugNavMesh(); | |
[Value] Vec3 getClosestPoint([Const, Ref] Vec3 position); | |
[Value] Vec3 getRandomPointAround([Const, Ref] Vec3 position, float maxRadius); | |
[Value] Vec3 moveAlong([Const, Ref] Vec3 position, [Const, Ref] Vec3 destination); | |
dtNavMesh getNavMesh(); | |
[Value] NavPath computePath([Const, Ref] Vec3 start, [Const, Ref] Vec3 end); | |
void setDefaultQueryExtent([Const, Ref] Vec3 extent); | |
[Value] Vec3 getDefaultQueryExtent(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment