craftybox
craftybox copied to clipboard
[Obsolete] Box2D Components for Crafty.js
It will be better to have custom step iterations setting, both velocity and position. http://www.box2dflash.org/docs/2.1a/reference/Box2D/Dynamics/b2World.html#Step()
Hi! I found another issue ^^ I link three example for see the problem http://sanelli.org/crafty/index.html (No friction setted) http://sanelli.org/crafty/index2.html (Friction 0.1) http://sanelli.org/crafty/index3.html (Friction 0) how i can fix the box?
For example, some entity can go through wall, etc
Needs to split concave polygon into smaller convex polygons, each will become a fixture of the main body.
Crafty's MBR works fine, but it's axis-aligned rectangle, which is not always minimum for polygons. Need to calculate a better rectangle that does not only support (convex) polygon but also...
Need to support adding more fixtures to the body, probably through calling chain, such as `Crafty.e("Box2D").rectangle(w, h, x, y).circle(radius, x, y).polygon([x1, y1], [x2, y2], [x3, y3])` The question(s) is: does...