recast-navigation 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -57,7 +57,7 @@ const navMeshConfig = {
57
57
  /* ... */
58
58
  };
59
59
 
60
- const { navMesh } = navMeshGenerator.generate(
60
+ const { navMesh } = navMeshGenerator.generateSoloNavMesh(
61
61
  positions,
62
62
  indices,
63
63
  navMeshConfig
@@ -84,11 +84,11 @@ navMeshQuery.getRandomPointAround(position, radius);
84
84
 
85
85
  Recast Navigation supports creating Box and Cylinder obstacles.
86
86
 
87
- Note that in order to use obstacles, you must create a tiled NavMesh. You can do this by specifying a `tileSize` in the `NavMeshConfig`.
87
+ Note that in order to use obstacles, you must create a tiled NavMesh.
88
88
 
89
89
  ```ts
90
90
  /* create a tiled NavMesh */
91
- const { navMesh, tileCache } = navMeshGenerator.generate(positions, indices, {
91
+ const { navMesh, tileCache } = navMeshGenerator.generateTiledNavMesh(positions, indices, {
92
92
  /* ... */
93
93
  tileSize: 16,
94
94
  });
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "email": "isaac@isaacmason.com",
19
19
  "url": "https://isaacmason.com/"
20
20
  },
21
- "version": "0.1.2",
21
+ "version": "0.2.0",
22
22
  "license": "MIT",
23
23
  "homepage": "https://github.com/isaac-mason/recast-navigation-js",
24
24
  "bugs": {
@@ -49,8 +49,8 @@
49
49
  "build-storybook": "storybook build"
50
50
  },
51
51
  "dependencies": {
52
- "@recast-navigation/core": "0.1.2",
53
- "@recast-navigation/three": "0.1.2"
52
+ "@recast-navigation/core": "0.2.0",
53
+ "@recast-navigation/three": "0.2.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "three": "^0.150.1"