Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -04:00
Alex Szpakowski
aca369e5d4
Fixed memory leaks in love.physics. When a World is garbage-collected it now implicitly calls World:destroy, which also destroys all Bodies, Fixtures, and Joints that belong to it.
2015-11-17 01:27:48 -04:00
Alex Szpakowski
2cce18946d
Fixed objects which store Lua callback functions to avoid attempting to use dead coroutines when deleting the reference to the callback function. Should fix crashes when coroutines are mixed with those objects.
...
Also improved the performance of World:rayCast and World:queryBoundingBox.
2015-07-18 03:26:07 -03:00
Alex Szpakowski
cf60cf89fc
De-namespaced a class, to make it less verbose.
2015-01-24 04:09:56 -04:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Alex Szpakowski
5fac441a51
Added Body:getJointList.
2014-11-15 01:17:20 -04:00
Alex Szpakowski
d59c76a55f
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
2014-08-07 14:53:17 -03:00
Alex Szpakowski
9ab9a393d5
Added Contact:getFixtures and Body:getContactList (see issue #905 ).
...
The list of Contacts associated with bodies changes during World:update (potentially multiple times), so you might miss collisions if you don't use the World callbacks at all.
2014-07-07 15:24:24 -03:00
Alex Szpakowski
fe5e7c17e7
Added Body:setUserData and Body:getUserData (resolves issue #853_
2014-02-26 20:47:05 -04:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
5e3a0fbc6e
Updated box2d from 2.2.1 to 2.3.0
...
--HG--
branch : box2d-2.3
2013-11-09 04:30:36 -04:00
Alex Szpakowski
8d5ddb9e34
Fixed some internal documentation (thanks to clang's -Wdocumentation)
2013-09-23 21:52:28 -03:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
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
56ae3a95fc
Bring back some elements of better Body destruction that got lost in the merge
2011-10-12 13:51:47 -05: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
57e345e91e
bring in new version of Box2D and update #include paths
...
--HG--
branch : box2d-update
2011-03-13 07:59:18 -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
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
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
rude
ee59f28e04
Some destructors in love.physics were non-virtual.
2009-11-10 20:24:29 +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