box2d.ts icon indicating copy to clipboard operation
box2d.ts copied to clipboard

A TypeScript port of Box2D

Results 29 box2d.ts issues
Sort by recently updated
recently updated
newest added

https://flyover.github.io/box2d.ts/testbed

I've updated my benchmark for 3 active js Physics Engines. This benchmark is very very simple and basic . But I think it has already could tell us something ....

The following code crashes at `b2_dynamic_tree:47`: ```typescript import {b2Body, b2BodyDef, b2BodyType} from "./box2d/dynamics/b2_body"; import {b2FixtureDef} from "./box2d/dynamics/b2_fixture"; import {b2PolygonShape} from "./box2d/collision/b2_polygon_shape"; import {b2Vec2} from "./box2d/common/b2_math"; import {b2World} from "./box2d/dynamics/b2_world"; const...

Hi @flyover, I recently started digging a bit more into typescript game development and wanted to get started by porting some of my existing java/libgdx projects to typescript, which use...

I need to create a concave polygon. Some tutorials mention b2Separator, but I haven't found it in this item. Do I need to write one b2Separator?

While I'm trying to look for ways to compare the code to original box2d, I noticed a few places, where the logic is quite different (beyond typescript conversion) and I...

Hi, I have just updated my game backend to a newer version of `box2d.ts` and the performande dropped a lot. I do a lot of `QueryAABB` and `fixture.synchronize` calls for...

While bundling this package with rollup, I discovered that b2BodyType was not exported because the enum `b2BodyType` is not defined correctly. In FILE: \packages\box2d\src\dynamics\b2Body.ts Line 32 - 40 ```JavaScript export...