@newkrok/nape-js 3.13.6 → 3.13.7
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.
- package/README.md +4 -5
- package/dist/{ConvexResult-Bidh5SbE.d.cts → ConvexResult-DS8b-aK-.d.cts} +1 -1
- package/dist/{ConvexResult-Bidh5SbE.d.ts → ConvexResult-DS8b-aK-.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +55 -3
- package/dist/index.d.ts +55 -3
- package/dist/index.js +1 -1
- package/dist/serialization/index.d.cts +1 -1
- package/dist/serialization/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -170,17 +170,16 @@ present, with automatic `postMessage` fallback otherwise.
|
|
|
170
170
|
|
|
171
171
|
## Known Issues
|
|
172
172
|
|
|
173
|
-
- **
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
**Workaround:** use `Circle` shapes for free-falling objects.
|
|
173
|
+
- **Zero-friction tunneling** — Bodies with zero-friction material and horizontal
|
|
174
|
+
velocity may tunnel through floors. This affects all shape types (circles,
|
|
175
|
+
polygons, capsules). **Workaround:** use small friction values (e.g. `0.01`).
|
|
177
176
|
|
|
178
177
|
## Development
|
|
179
178
|
|
|
180
179
|
```bash
|
|
181
180
|
npm install
|
|
182
181
|
npm run build # tsup → dist/ (ESM + CJS + DTS)
|
|
183
|
-
npm test # vitest —
|
|
182
|
+
npm test # vitest — 3806 tests across 177 files
|
|
184
183
|
npm run benchmark # Performance benchmarks
|
|
185
184
|
```
|
|
186
185
|
|
|
@@ -2673,4 +2673,4 @@ declare class ConvexResult {
|
|
|
2673
2673
|
toString(): string;
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
|
-
export { AABB as A, Body as B, CollisionArbiter as C, DebugDraw as D, Edge as E, FluidArbiter as F, GravMassMode as G, Polygon as H, InteractionFilter as I, RayResult as J, type RayResultList as K, Listener as L, Material as M, NapeList as N, type ShapeList as O, PreFlag as P, ShapeType as Q, Ray as R, Shape as S, Space as T, type TypedListLike as U, Vec2 as V, Vec3 as a, CbEvent as b, Interactor as c, InteractionType as d, Constraint as e, Arbiter as f, MatMN as g,
|
|
2676
|
+
export { AABB as A, Body as B, CollisionArbiter as C, DebugDraw as D, Edge as E, FluidArbiter as F, GravMassMode as G, Polygon as H, InteractionFilter as I, RayResult as J, type RayResultList as K, Listener as L, Material as M, NapeList as N, type ShapeList as O, PreFlag as P, ShapeType as Q, Ray as R, Shape as S, Space as T, type TypedListLike as U, Vec2 as V, Vec3 as a, CbEvent as b, Interactor as c, InteractionType as d, Constraint as e, Arbiter as f, MatMN as g, BodyType as h, type ArbiterList as i, ArbiterType as j, type BodyList as k, Broadphase as l, type CbTypeSet as m, Compound as n, type CompoundList as o, type ConstraintList as p, ConvexResult as q, type ConvexResultList as r, type DebugVec2 as s, FluidProperties as t, InertiaMode as u, InteractionGroup as v, type ListenerList as w, ListenerType as x, MassMode as y, Mat23 as z };
|
|
@@ -2673,4 +2673,4 @@ declare class ConvexResult {
|
|
|
2673
2673
|
toString(): string;
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
|
-
export { AABB as A, Body as B, CollisionArbiter as C, DebugDraw as D, Edge as E, FluidArbiter as F, GravMassMode as G, Polygon as H, InteractionFilter as I, RayResult as J, type RayResultList as K, Listener as L, Material as M, NapeList as N, type ShapeList as O, PreFlag as P, ShapeType as Q, Ray as R, Shape as S, Space as T, type TypedListLike as U, Vec2 as V, Vec3 as a, CbEvent as b, Interactor as c, InteractionType as d, Constraint as e, Arbiter as f, MatMN as g,
|
|
2676
|
+
export { AABB as A, Body as B, CollisionArbiter as C, DebugDraw as D, Edge as E, FluidArbiter as F, GravMassMode as G, Polygon as H, InteractionFilter as I, RayResult as J, type RayResultList as K, Listener as L, Material as M, NapeList as N, type ShapeList as O, PreFlag as P, ShapeType as Q, Ray as R, Shape as S, Space as T, type TypedListLike as U, Vec2 as V, Vec3 as a, CbEvent as b, Interactor as c, InteractionType as d, Constraint as e, Arbiter as f, MatMN as g, BodyType as h, type ArbiterList as i, ArbiterType as j, type BodyList as k, Broadphase as l, type CbTypeSet as m, Compound as n, type CompoundList as o, type ConstraintList as p, ConvexResult as q, type ConvexResultList as r, type DebugVec2 as s, FluidProperties as t, InertiaMode as u, InteractionGroup as v, type ListenerList as w, ListenerType as x, MassMode as y, Mat23 as z };
|