summaryrefslogtreecommitdiff
path: root/servers/physics_2d
AgeCommit message (Collapse)Author
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-09Merge pull request #6691 from Faless/expose_more_physicsRémi Verschelde
Expose more 2D/3D physics options in project settings (#5029)
2016-10-03Expose more 2D/3D physics options in project settingsFabio Alessandrelli
2016-09-26Now ignoring remaining collision shapes.Victor Seiji Hariki
2016-09-19Fix for #6158. Converting Vector2 to Size2 for scaling functions.anneomcl
2016-09-01-Fixed issue in Kinematicbody2DJuan Linietsky
2016-08-31More improvements to visual script..Juan Linietsky
fixed a bug of not saving when sub-nodes changed.
2016-07-18Merge pull request #5383 from Ovnuniarchos/OptimizeOneWayRémi Verschelde
Optimized one-way collision loops.
2016-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-06-24Optimized one way collision loops.Ovnuniarchos
2016-06-18Fixed a stupid bug with segment-segment collision in SAT physics, closes ↵Juan Linietsky
#4801 , closes #4984
2016-06-18Change hash grid in 2D physics to contemplate large objects as separate ↵Juan Linietsky
cases, to avoid huge memory and performance penalty. Fixes #4662
2016-06-18Drop empty .cpp files for header-only classesRémi Verschelde
Part of #5272
2016-06-18Add missing license headers in our source files (#5255)Rémi Verschelde
Also removes a couple wrong Godot headers from third-party source files.
2016-05-21First version of ProfilerJuan Linietsky
It is now possible to profile GDScript as well as some parts of Godot internals.
2016-04-26RigidBody2D (add_force, set_inertia): new methods.Josh Grams
2016-04-24RigidBody2D: rename apply_impulse(pos) to offset.Josh Grams
2016-04-20RigidBody2D: add and bind get_inertia() method.Josh Grams
You can't set this value very well, since it's automatically computed from the mass and the collision shapes. But since the values are higher than many people might suspect, so being able to read it helps estimate the amount of torque you might need to apply.
2016-04-12Fixed #4163 (intersect_shape crashes on results limit)Marc Gilleron
2016-03-10Merge pull request #3999 from neikeq/issues_3650_3990Rémi Verschelde
Fix crash when resizing ConcavePolygonShape2D segments
2016-03-09Fix crash when resizing ConcavePolygonShape2D segmentsIgnacio Etcheverry
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-01Physics2D: Allow to use 'intersect_point' with objects which is not 'pickable'Biliogadafr
2016-01-23Merge pull request #2698 from Faless/add_area_fixJuan Linietsky
Fix bug in Body(2D)SW::add_area
2016-01-04-Fix crash at exit due to unnecesary check in command queue, fixes #2034Juan Linietsky
-Fix memory corruption due to using wrong singleton in multithreaded physics, fixes #2760
2016-01-03physics state properly returns contact metadata, closes #1979Juan Linietsky
2016-01-02skip the first integration in physics bodies, fixes #2213Juan Linietsky
2016-01-01properly removing unprocessed objects from physics islands fixes one way ↵Juan Linietsky
platforms for rigidbodies, closes #2345
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-31remove error print in area collision, should be a valid situation, closes #2463Juan Linietsky
2015-12-14New and corrected are override modes.Ovnuniarchos
2015-12-08Areas now calculate their dampenings the same way as their gravity.Ovnuniarchos
2015-12-02Fix Body (and Body2D) add_area / remove_area when area have multiple shapesFabio Alessandrelli
2015-11-19-remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky
2015-11-01Cosmetic fixes to SCons buildsystemRémi Verschelde
- Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
2015-10-17Merge pull request #2587 from eska014/fix-area2d-mask-matchingJuan Linietsky
Fix Area/Area2D mask matching
2015-10-10Expose softness parameter of pin joint to the editor.Biliogadafr
2015-10-09Fix Area2D type mask matchingeska
2015-09-20Ability to visually debug geometry visually:Juan Linietsky
-Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings
2015-09-03merged some stuff for okamJuan Linietsky
2015-08-30Added gravity scale, and linear/angular damp override to 3D physics.Juan Linietsky
2015-06-30small fixesJuan Linietsky
2015-06-07Merge pull request #1932 from Faless/gravity_distance_fullJuan Linietsky
Calculate gravity based on distance from body to gravity point
2015-05-27-fix bug in animation editorJuan Linietsky
-fix crash bug in physics motion, closes #1993
2015-05-26oops, previous commit was not workingJuan Linietsky
it is working now
2015-05-26ability to run 2D physics in a threadJuan Linietsky
also, 2D physics is now thread safe too. see physics_2d/thread_model
2015-05-18Calculate gravity based on distance from body to gravity point (2D)Fabio Alessandrelli
2015-05-16sleeping property now should work properly, fixes #1892Juan Linietsky
2015-05-10-improved one-way collision handling in both dynamic and character bodies ↵Juan Linietsky
for 2D, fixes #1854