Commit Graph

30 Commits

Author SHA1 Message Date
Linus Sjögren afd0ef1d9e Add a custom Body:setMass function. 2012-01-10 04:14:17 +01:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
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 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
Bill Meltsner d40b25c1e6 Hindenmerge 2011-10-12 13:40:56 -05:00
Bill Meltsner c5cd6d709b Fix a lot of scaling issues
--HG--
branch : box2d-update
2011-09-29 11:09:08 -04:00
Bill Meltsner de908f3354 Missing retain() calls in get*List functions
--HG--
branch : box2d-update
2011-09-25 12:35:57 -04:00
Bill Meltsner 28c5982d92 Fix table creation for getList() functions, and ignore the ground body
--HG--
branch : box2d-update
2011-09-25 12:18:13 -04:00
Bill Meltsner 221d9699f6 Add Body:getFilterList
--HG--
branch : box2d-update
2011-09-24 17:12:45 -04:00
Bill Meltsner c705063597 First attempt at implementing Memoization for certain Box2D objects
--HG--
branch : box2d-update
2011-09-24 12:20:59 -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 a0c0fd8387 Add Body:getWorldPoints, basically for use with PolygonShape:getPoints to facilitate easier drawing
--HG--
branch : box2d-update
2011-09-24 03:39:21 -04:00
Bill Meltsner 0d4569d28b Add mandatory density argument to Body:createFixture
--HG--
branch : box2d-update
2011-09-24 02:34:27 -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 367dbc2ecc Update Body API.
--HG--
branch : box2d-update
2011-09-23 22:21:14 -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
Bart van Strien fafe0d7039 Wait until the end of a physics update before destroying bodies (issue #193) 2011-06-10 14:03:56 +02:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
rude 31c9995082 Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int. 2011-01-09 16:28:30 +01:00
rude 8c721ceb6a Some small fixes to make LOVE compilable in MSVC2010. 2010-09-05 12:05:05 +02:00
Bart van Strien 9a86aab97d Added body.getAllowSleeping, resolves #52 2010-08-27 22:19:16 +02:00
Bill Meltsner c64e034320 Fixed setFixedRotation enabling other flags (bug #190) 2010-04-03 07:12:52 -04:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude 67e10b64f9 Implmented a few 'missing methods' in love.physics. 2010-01-31 14:24:22 +01:00
rude cd24dbcb8e Added get/setGroupIndex (#129) and get/setFixedRotation (#113). Also fixed 3000 auto.lua-related warnings in MSVC. 2010-01-04 20:02:36 +01:00
bill@Ixion 2515c697e5 bodies can now be forbidden from sleeping 2009-12-03 18:56:40 -06:00
rude f3d1517a9a Fixed offset bug in body:applyImpulse and body:applyForce. 2009-11-22 13:53:07 +01:00
rude 435fc43f68 Fixed love.keyboard.setKeyRepeat, fixed issues with Body:getWhatever, and made the save directory settable. 2009-10-29 22:34:54 +01:00
rude 797f536f05 Changed function names of love.physics to match Box2D. 2009-08-04 23:05:49 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00