Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cloudfreexiao/lua-recastnavigation

Repository files navigation

请移步:lua-navmesh

Navigation 教程链接地址,navmesh文件的生成

https://github.com/ketoo/NoahGameFrame/blob/master/NFComm/NFNavigationPlugin

https://github.com/bluesky7290/NFrame_unity3d_nav

使用例子:

local recastnavigation = require("recastnavigation")
print("recastnavigation:", inspect(recastnavigation), "\n")
local path = "./srv_demo.navmesh"
local navmesh = recastnavigation.navmesh(1, path)
print("navmesh:", inspect(navmesh), "\n")
local res, path = navmesh:FindStraightPath(0,0,0,23,0,5)
if res then
 print("navmesh FindStraightPath:", inspect(path), "\n")
end
navmesh = nil
collectgarbage()
while true do
end

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /