Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @recast-navigation/playcanvas package #438

Merged
merged 34 commits into from
Oct 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
cdb2d95
Add PlayCanvas integration to Recast Navigation
marklundin Sep 30, 2024
ac2c638
feat: remove the 'three' entrypoint from 'recast-navigation'
isaac-mason Oct 4, 2024
01ce88c
chore: align @recast-navigation/playcanvas version with other packages
isaac-mason Oct 4, 2024
f1667f8
fix: add playcanvas as dev dependency of @react-navigation/playcanvas
isaac-mason Oct 4, 2024
620be91
feat: simplify three examples
isaac-mason Oct 4, 2024
609f755
feat: avoid cloning meshes and geometry in getPositionsAndIndices
isaac-mason Oct 4, 2024
dcfa4dc
fix: changesets config
isaac-mason Oct 4, 2024
7bdbad4
feat: playcanvas lib changes, fix type errors
isaac-mason Oct 5, 2024
fd85b46
feat: add playcanvas example
isaac-mason Oct 5, 2024
7b7d247
feat: refactor playcanvas off mesh connections helper
isaac-mason Oct 5, 2024
dab8f6e
chore: update README.md
isaac-mason Oct 5, 2024
61ab4cb
feat: change three debug helpers to take required params as standalon…
isaac-mason Oct 6, 2024
e13870d
fix: test package.json scripts
isaac-mason Oct 6, 2024
86a9c6c
fix: build package.json scripts
isaac-mason Oct 6, 2024
b1bf2f2
chore: rename playcanvas example package
isaac-mason Oct 6, 2024
48f0625
feat: align playcanvas helpers with three helpers
isaac-mason Oct 6, 2024
49891ca
feat: move common three and playcanvas debug drawer code into @recast…
isaac-mason Oct 6, 2024
9950f7b
fix: remove react plugin from vite examples
isaac-mason Oct 6, 2024
760c17d
chore: stop using concurrently in scripts
isaac-mason Oct 9, 2024
5574b50
chore: fix test:bundlers-smoke-test script
isaac-mason Oct 9, 2024
092ff70
chore: rename basic three vite example
isaac-mason Oct 9, 2024
6ed4773
chore: bump vite and vitest
isaac-mason Oct 9, 2024
afb84e3
fix: playcanvas example
isaac-mason Oct 9, 2024
42c0bdd
chore: update test:packages script
isaac-mason Oct 9, 2024
f7ded1b
chore: don't build examples in ci
isaac-mason Oct 9, 2024
3f32040
chore: update README.md
isaac-mason Oct 9, 2024
338f92b
feat: refactor playcanvas OffMeshConnectionsHelper
isaac-mason Oct 9, 2024
4d6851a
feat: refactor playcanvas helpers
isaac-mason Oct 9, 2024
c58686f
chore: bump three version
isaac-mason Oct 9, 2024
5731dfc
chore: update changeset
isaac-mason Oct 15, 2024
046c046
chore: update README.md
isaac-mason Oct 15, 2024
98d0b25
chore: update README.md
isaac-mason Oct 15, 2024
7a0d214
chore: update README.md
isaac-mason Oct 15, 2024
e250c41
fix: typedoc docs
isaac-mason Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: playcanvas example
isaac-mason committed Oct 9, 2024
commit afb84e39d448760f2334ff014016be83a1ffd316
4 changes: 1 addition & 3 deletions examples/playcanvas-vite-example/src/index.ts
Original file line number Diff line number Diff line change
@@ -71,9 +71,7 @@ const init = async () => {
);

if (success) {
const navMeshHelper = new NavMeshHelper(app.graphicsDevice, {
navMesh,
});
const navMeshHelper = new NavMeshHelper(navMesh, app.graphicsDevice);

app.root.addChild(navMeshHelper);
}