Alex Szpakowski
3ad16a70da
love.physics: move internal box2d->love object map to World instances, and clean up some physics object code. Resolves issue #1465 .
2019-01-04 21:36:05 -04:00
Alex Szpakowski
0752f27bdf
Update copyright year for 2019
2019-01-03 21:09:05 -04:00
Bart van Strien
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00
Alex Szpakowski
8ea2f09a1c
Fix Fixture:getShape. Resolves issue #1319 .
...
--HG--
branch : minor
2017-09-22 20:31:24 -03:00
Alex Szpakowski
b590edf27d
Merge default into minor
...
--HG--
branch : minor
2017-04-30 00:37:26 -03:00
raidho36
6b7172bd40
Fix Issue #1273
...
Added Lua index registry clear routine to `destroy` method of classes that use it.
If this is left to GC, the abandoned userdata would stay in memory for one full extra cycle.
Prettified the code slightly. Clarified some comments. Refactored `Fixture` class `udata` name.
Removed Reference class include from `Shape` (it doesn't use it).
2017-04-14 05:53:36 +03:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Bart van Strien
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
...
--HG--
branch : dynamiccore2
2016-11-13 16:38:57 +01:00
Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -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
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04: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
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
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
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
3bd2316c6c
Remove Fixture:getNext, it was just for testing
...
--HG--
branch : box2d-update
2011-09-24 17:14:03 -04:00
Bill Meltsner
8ae43be1fe
Fix Fixture memory management issues
...
--HG--
branch : box2d-update
2011-09-24 14:54:06 -04:00
Bill Meltsner
e962891ba2
Add Fixture:getNext()
...
--HG--
branch : box2d-update
2011-09-24 12:32:28 -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
0d4569d28b
Add mandatory density argument to Body:createFixture
...
--HG--
branch : box2d-update
2011-09-24 02:34:27 -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
c3d69746c1
making a stab at updating Shapes
...
--HG--
branch : box2d-update
2011-03-13 09:33:32 -04:00