@newkrok/nape-js 3.13.6 → 3.13.8

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 CHANGED
@@ -170,17 +170,16 @@ present, with automatic `postMessage` fallback otherwise.
170
170
 
171
171
  ## Known Issues
172
172
 
173
- - **Polygon-Polygon tunneling** — When two or more dynamic `Polygon` bodies are
174
- present in the same space, they may tunnel through static `Polygon` floors.
175
- Single polygon works fine; circles and capsules are unaffected.
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 — 3784 tests across 176 files
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, type ArbiterList as h, ArbiterType as i, type BodyList as j, BodyType 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 };
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, type ArbiterList as h, ArbiterType as i, type BodyList as j, BodyType 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 };
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 };