summaryrefslogtreecommitdiff
path: root/servers/physics_2d
AgeCommit message (Collapse)Author
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-10-25Merge pull request #32845 from madmiraal/rigidbody-mode-changeRémi Verschelde
Activate Body(2D)SW when switching to rigid or character mode.
2019-10-24Fix leak in Physics2DServerSWRafał Mikrut
2019-10-15Activate Body(2D)SW when switching to rigid or character mode.Marcel Admiraal
2019-10-12Fix mismatch between RigidBody(2D) and Body(2D)SW can_sleep defaults.Marcel Admiraal
- Set Body2DSW can_sleep default to true. - Set Body2D can_sleep default to true.
2019-08-23Fix uninitialized inertia value in Body2DSWAndrii Doroshenko (Xrayez)
2019-08-22Fix custom inertia in physics2d, closes#30838RaphaelHunter
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "main" and "servers" directoriesMichael Alexsander Silva Dias
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-07-30Correct typo and format of commentsIAmActuallyCthulhu
2019-07-27Remove physics thread getting the gl contextsantouits
2019-07-23Update some dead links in the codebaseMichael Alexsander Silva Dias
2019-07-23Fix some code found by Coverity Scan and PVS Studioqarmin
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-01Merge pull request #29951 from raphael10241024/add_physics_2d_optimizeRémi Verschelde
add 2d physic optimization similar to 3d physics
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-21add 2d physic optimization simlilar to 3d physicsyakun.zhang
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-05-20Fix some shape2d get_moment_of_inertia erroryakun.zhang
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-04-30Merge pull request #27371 from ShyRed/fixdisabled2dcollisionsRémi Verschelde
Allow adding disabled shapes
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-23Allow adding disabled shapesShyRed
Adds the ability to directly add disabled shapes to a collision object. Before this commit a shape has always been assumed to be enabled and had to be disabled in an extra step.
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-03-27Remove hardcoded joint biasShyRed
Use user provided bias instead of hardcoded bias.
2019-03-02Make query checks less agressive, fixes #24694Juan Linietsky
2019-02-21Fixed bugs in test body motion and removed unnecesary test in ↵Juan Linietsky
move_and_slide. Fixes #25968
2019-02-21Merge pull request #26103 from nekomatata/area2d-rectangle-collision-fixRémi Verschelde
Fixed Area2d input events ignoring the top and left edge of rectangle shape
2019-02-21Area2d rectangle collision check doesn't ignore the first pixel row and ↵PouleyKetchoupp
column (fix #25462)
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-16Skip disabled shape when getting rest info. Fixes #25941Juan Linietsky
2019-02-16Support multiple ray shapes in kinematicbody, fixes #25050Juan Linietsky
2019-02-16Add a minimum treshold for acquiring rest contacts to avoid numerical ↵Juan Linietsky
precision issues. Fixes #25074
2019-02-16Allow kinematic bodies without shapes to still move, fixes #24775Juan Linietsky
2019-02-16Make ray shapes not work with OWC. They don't make practical sense together. ↵Juan Linietsky
Closes #25532
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-12Fixed OWC for rigid bodies, closes #25732Juan Linietsky
2019-01-21Cleanup after @reduz :)Rémi Verschelde
Fixes #25172.
2019-01-18-Re-added margins in one way collision (made in a more user friendly way ↵Juan Linietsky
than in Godot 2.1), fixes #23860 -Fixed potential bug in OWC (i dont think anyone had it but..)
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-27fixes crash when Body2DSW doesn't have spacehedin
2018-12-12Disabled CollisionShape and CollisionShape2D are not processed nowStanislav
Fixes #24183
2018-11-16-Make sure monitorable cant be flipped while flushing queries, fixes #17330Juan Linietsky
-Also added set_deferred, this was missing.
2018-11-14Ensure that even at slow speed, you will always get collision using ↵Juan Linietsky
kinematic motion. Fixes #16250
2018-11-10Make sure rotated shapes with one way direction collisions work, fixes #12791Juan Linietsky