Alex Szpakowski
|
20b77bd28c
Changed World:update(dt) to default to Box2D's recommended 3 internal position iterations instead of 6. Added a new variant World:update(dt, velocityiterations, positioniterations) which lets you specify the number of velocity and position iterations Box2D performs when updating the world. The defaults are 8 and 3 respectively, higher numbers increase precision and reduce performance.
|
9 년 전 |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 년 전 |
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.
|
9 년 전 |
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.
|
10 년 전 |
Alex Szpakowski
|
64b9d40f00
Fixed World:getCallbacks and World:getContactFilter to use the active coroutine's lua state.
|
10 년 전 |
Alex Szpakowski
|
6e92bd8302
Improved the argument type checking for World:setCallbacks, World:setContactFilter, World:queryBoundingBox, and World:rayCast.
|
10 년 전 |
Alex Szpakowski
|
2f419c1c83
Replaced most cases of type bits and type name strings in love's Lua wrapper code with type id's.
|
10 년 전 |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 년 전 |
Alex Szpakowski
|
da7cd267ea
Changed luax_pushtype to retain the pushed object itself, but only if the object isn't in the Lua state already.
|
11 년 전 |
Alex Szpakowski
|
d59c76a55f
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
|
11 년 전 |
Alex Szpakowski
|
9ab9a393d5
Added Contact:getFixtures and Body:getContactList (see issue #905).
|
11 년 전 |
Alex Szpakowski
|
2ae4e9cd5a
Fixed a potential memory leak in the love.physics World callbacks.
|
11 년 전 |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 년 전 |
Alex Szpakowski
|
5e3a0fbc6e
Updated box2d from 2.2.1 to 2.3.0
|
11 년 전 |
Alex Szpakowski
|
95eedcd1be
Using auto for some iterators for less dense-looking code
|
12 년 전 |
Alex Szpakowski
|
93a782d445
Renamed World:setAllowSleeping and World:getAllowSleeping to World:setSleepingAllowed and World:isSleepingAllowed (see issue #691, also consistent with the Body methods)
|
12 년 전 |
Alex Szpakowski
|
ec9dec6b80
Replaced luax_newtype with luax_pushtype (and added luax_rawnewtype for the old functionality of luax_newtype.)
|
12 년 전 |
Alex Szpakowski
|
96161c66f6
Updated copyright text for the new year
|
12 년 전 |
Boolsheet
|
cde5aa3307
Import box2d-contacts branch from love-experiments
|
13 년 전 |
Bart van Strien
|
7793e7f02f
CRLF to LF
|
13 년 전 |
rude
|
81c38e22d0
Applied the new style guidelines.
|
13 년 전 |
Aidan Gauland
|
27b62b5c9c
Removed scaling of unit vectors.
|
13 년 전 |
Bart van Strien
|
66aef58075
Use a clearer error message when the raycast callback doesn't return a number (issue #356)
|
13 년 전 |
Bart van Strien
|
0c9d8f3c41
Handle masks and categories in our contact filter
|
13 년 전 |
Bill Meltsner
|
4aa3939311
Actually register Box2D worlds as contact filters
|
13 년 전 |
Bart van Strien
|
a67b5b501f
Fix a leak on destruction of a physics world
|
13 년 전 |
Bart van Strien
|
9dc4138366
Fix a comment
|
13 년 전 |
Bill Meltsner
|
be55579a22
Happy New Year, have an enormous diff
|
13 년 전 |
Bart van Strien
|
c1f68e058d
Use Box2D's callbacks for destruction of physics objects and wait until the end of the timestep before destroying them.
|
13 년 전 |
Bart van Strien
|
0aae9684b3
Automated formatting fix
|
14 년 전 |