Bart van Strien
|
c1f68e058d
|
Use Box2D's callbacks for destruction of physics objects and wait until the end of the timestep before destroying them.
Merge of box2d-id2 from love-experiments
|
2012-01-08 13:16:50 +01:00 |
|
Bart van Strien
|
ae833449d4
|
Move some includes over to the right file, fixing an include loop in the process
|
2011-12-29 13:47:39 +01:00 |
|
Bart van Strien
|
c707a4ca45
|
Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations)
|
2011-12-24 01:10:40 +01:00 |
|
Bart van Strien
|
0aae9684b3
|
Automated formatting fix
|
2011-11-16 11:32:41 +01:00 |
|
Bart van Strien
|
b32464f0d3
|
Forward box2d asserts to exception, then catch those in the new* functions
|
2011-10-12 21:36:46 +02:00 |
|
Bill Meltsner
|
f38655a934
|
Add second body anchor point to FrictionJoint/WeldJoint constructors
--HG--
branch : box2d-update
|
2011-10-02 10:06:31 -04:00 |
|
Bill Meltsner
|
735c52b228
|
make love.physics.setMeter error on invalid meters (anything less than 1)
--HG--
branch : box2d-update
|
2011-10-02 09:33:42 -04:00 |
|
Bill Meltsner
|
d4703960a4
|
Do the same for WheelJoint
--HG--
branch : box2d-update
|
2011-09-27 16:38:46 -04:00 |
|
Bill Meltsner
|
5244463109
|
Add second body anchor point as a parameter to love.physics.newPrismaticJoint, and fix some scaling issues with PrismaticJoint
--HG--
branch : box2d-update
|
2011-09-27 15:48:29 -04:00 |
|
Bill Meltsner
|
b6f3d2114f
|
Remove legacy meter setting from love.physics.newWorld
--HG--
branch : box2d-update
|
2011-09-25 11:32:46 -04:00 |
|
Bill Meltsner
|
56ce9a2e17
|
Expose love.physics.getDistance
--HG--
branch : box2d-update
|
2011-09-25 11:21:05 -04:00 |
|
Bill Meltsner
|
680dd65c19
|
Add love.physics.getDistance(fixtureA, fixtureB) - gets the distance between and the closest points of two fixtures
--HG--
branch : box2d-update
|
2011-09-24 17:29:42 -04:00 |
|
Bill Meltsner
|
b36ff409aa
|
Make Fixture creation API more lovely
--HG--
branch : box2d-update
|
2011-09-24 09:27:39 -04:00 |
|
Bill Meltsner
|
8592b98525
|
Add type to Body constructor (defaults to "static")
--HG--
branch : box2d-update
|
2011-09-24 02:15:46 -04:00 |
|
Bill Meltsner
|
2c761fc701
|
Actually load Fixture Lua functions
--HG--
branch : box2d-update
|
2011-09-24 00:47:54 -04:00 |
|
Bill Meltsner
|
367dbc2ecc
|
Update Body API.
--HG--
branch : box2d-update
|
2011-09-23 22:21:14 -04:00 |
|
Bill Meltsner
|
71abae06c7
|
Implement Fixture class properly.
--HG--
branch : box2d-update
|
2011-09-23 18:01:40 -04:00 |
|
Bill Meltsner
|
4980797afc
|
World no longer has an explicit size
--HG--
branch : box2d-update
|
2011-09-23 16:27:59 -04:00 |
|
Bill Meltsner
|
a565668183
|
Add ChainShape
--HG--
branch : box2d-update
|
2011-09-15 17:17:28 -04:00 |
|
Bill Meltsner
|
e69cafe868
|
Switched get/setMeter from being a World method to a love.physics function
--HG--
branch : box2d-update
|
2011-09-15 16:13:54 -04:00 |
|
Bill Meltsner
|
e5fa4c87c6
|
exposed collideConnected flag
--HG--
branch : box2d-update
|
2011-09-15 14:28:48 -04:00 |
|
Bill Meltsner
|
99660f39ab
|
Added RopeJoint
--HG--
branch : box2d-update
|
2011-09-15 12:40:16 -04:00 |
|
Bill Meltsner
|
7ec64bf912
|
Add basic EdgeShape (todo: all edge-related functionality) and further integrated the new Joints
--HG--
branch : box2d-update
|
2011-09-04 13:21:57 -04:00 |
|
Bill Meltsner
|
915e3e9d86
|
Updated to Box2D 2.2, added new joints, some other updates to match the API changes (still plenty more to go though)
--HG--
branch : box2d-update
|
2011-09-03 15:39:32 -04:00 |
|
Bill Meltsner
|
be146c5f61
|
some more Shape fixes
--HG--
branch : box2d-update
|
2011-03-13 10:09:17 -04:00 |
|
Bill Meltsner
|
fde708160e
|
bringing in the new year by changing every 2010 to 2011
|
2011-01-15 14:40:27 -06:00 |
|
rude
|
d884cb8a82
|
Removed newWorld(w, h). Added newWorld(x1, y1, x2, y2).
|
2010-11-25 16:49:03 +01:00 |
|
Bart van Strien
|
908df65bdb
|
Added meter parameter to newWorld
|
2010-08-01 14:42:54 +02:00 |
|
bart@bartbes.ath.cx
|
736f7ab1a2
|
love.thread can now share full userdata
|
2010-02-14 17:41:11 +01:00 |
|
rude
|
aa01c984b9
|
Updated all dates to 2010.
|
2010-01-31 16:54:47 +01:00 |
|
bill@Ixion
|
c70d1e9db3
|
keeping a consistent coding style and apparently fixing broken compilation on systems that aren't mine.
|
2009-12-05 16:29:33 -06:00 |
|
bill@Ixion
|
b57f48eb73
|
last commit broke the build by accident - apparently redeclared a variable. fixed.
|
2009-12-03 19:20:45 -06:00 |
|
bill@Ixion
|
c120a1570c
|
love.physics.newWorld now acts like it's supposed to and adheres to the documentation
|
2009-12-03 19:13:35 -06:00 |
|
rude
|
87e3c4131c
|
Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal.
|
2009-10-10 11:11:04 +02:00 |
|
tenoch@tenoch-laptop
|
ca15eb1922
|
Changed default mass and rot. inertia values for new body to Box2D's
ones.
|
2009-09-05 15:31:05 +03:00 |
|
rude
|
623e701549
|
Modules now reside in Lua and are treated (almost) like normal objects.
Also added a way of getting a pointer to abstract module instances internally.
|
2009-09-02 21:18:13 +02:00 |
|
rude
|
dd420d68a3
|
Ok, project generation didn't really work out. Reverted.
|
2009-08-10 21:33:07 +02:00 |
|
rude
|
ba1a75e547
|
Added many comments, and changed function names for wrapper functions.
|
2009-08-09 21:08:55 +02:00 |
|
rude
|
8e681b4204
|
It's now possible to build each module individually (as a DLL).
|
2009-08-04 19:57:14 +02:00 |
|
rude
|
0c241a14fb
|
Added resources, and changed slightly how wrappers expose functions.
|
2009-07-30 00:37:43 +02:00 |
|
rude
|
dcb3dfd83d
|
Initial Mercurial commit.
|
2009-07-26 15:46:49 +02:00 |
|