summaryrefslogtreecommitdiff
path: root/servers/physics_2d
AgeCommit message (Collapse)Author
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
2015-05-03improved kinematic motion, improved demos for kinematic motionJuan Linietsky
2015-05-03-Made one way collision work with 2D physics (rigidbody)Juan Linietsky
2015-05-03-new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky
2015-04-26properly wake up bodies when a parameter changes, fixes #1740Juan Linietsky
2015-04-24casting line into physics on negative space now works properly, fixes #1726Juan Linietsky
2015-04-19-Rewritten KinematicBody2D::move to MUCH more efficient code.Juan Linietsky
-KinematicBody2D::move now properly recognizes collision exceptions and masks, fixes #1649 -Removed object type masking for KinematicBody2D -Added a test_motion() function to RigidBody2D, allowing simlar behavior to KinematicBody2D::move there.
2015-04-18Merge pull request #1691 from Faless/area_combine_2dJuan Linietsky
Implement Area2D space_override_mode = COMBINE
2015-04-18Updated copyright year in all headersJuan Linietsky