I’m looking for someone who would like to implement the recast navigation from GitHub into PlayCanvas.
With this I want to create a template that other users can use in their project. I think it would be great if pathfinding was finally possible in PlayCanvas.
Unfortunately, I don’t have the necessary basic knowledge to start with this, so perhaps a first start or a similar project with another GitHub intergration (to use as an example) can help as well.
What’s the current playcanvas story for using dependencies from npm? I recall seeing a tweet teasing support for npm packages but I don’t know if that’s released?
That example uses three.js for rendering, and uses some utilities in @recast-navigation/three for getting positions and indices from three.js meshes, but the core library isn’t tied to three.js at all. A playcanvas implementation of the debug drawer could easily be created as well.
That post was for engine only. ESM modules support is on the road map and is currently being worked on for a release or beta test over the next few months
I tried to use the example of @Mark_Lundin to create my own version. I’m not sure yet how to create the agents with entities from the editor. Additionally, I noticed an issue where the agent’s position changed unexpectedly. You can see this in the video below.
Do you have any idea what the problem could be @isaacmason?