box2d icon indicating copy to clipboard operation
box2d copied to clipboard

Haxe port of Box2D, a popular rigid-body 2D physics engine

Results 13 box2d issues
Sort by recently updated
recently updated
newest added

The following method is missing from B2Body: https://box2d.org/documentation/classb2_body.html#a1a6e1eb0807a0bbe1da7b063c0d0ed42 Are ports to this repo done manually? Or is there some tool used to get changes? I can manually copy over this...

I'm trying to use box2d in my Heaps.io project, compiled for HashLink. The compilation fails because of the usage of `flash.display.Sprite` in `B2DebugDraw`. Since I probably don't need debug draw...

Integrating the changes provided by Google's LiquidFun library would provide particle-based fluid and soft body simulation to the library. Code to reference: * Original C++: [LiquidFun](https://github.com/google/liquidfun) * Java Port: [JBox2D](https://github.com/jbox2d/jbox2d)

Can not found any documentation here,Sir Plz attach documentation.

This PR includes 3 changes that the base box2d project has adopted: 1. Wake B2Body on setLinearVelocity or setAngularVelocity: Currently, if one of these functions is called on a sleeping...

There are warnings inside this library that say Std.is is deprecated. I see no reason not to switch all references to Std.is to Std.isOfType.

Had this issue in my projects after updating OpenlFl (9.1.0), Lime (7.9.0) and Haxe (4.2.1). Also reproduced it in the testbed samples: ![box2d_debug-issue](https://user-images.githubusercontent.com/60543387/116420491-4c82a080-a83e-11eb-9927-01fab5c7aa0c.jpg)

Based on the current b2d source here: https://github.com/erincatto/box2d/blob/master/include/box2d/b2_body.h#L507 Currently, calling the SetLinearVelocity and SetAngularVelocity doesn't cause the body to move until it is awakened somehow. Bodies should wake up when...

I wanted to raise this issue mainly to raise awareness as there is no simple fix. The version of Box2D which this is a port of (2.1a) is not only...

I've ported a benchmark that compares this version of Box2d to a native "linc" c++ one: https://github.com/DanielUranga/haxe_box2d_benchmarks I think this can be highly interesting to measure hxcpp performance vs native....