aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_2d
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5383 from Ovnuniarchos/OptimizeOneWayRémi Verschelde2016-07-181-23/+18
|\ | | | | Optimized one-way collision loops.
| * Optimized one way collision loops.Ovnuniarchos2016-06-241-23/+18
| |
* | Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-082-7/+0
|/ | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Fixed a stupid bug with segment-segment collision in SAT physics, closes ↵Juan Linietsky2016-06-181-22/+39
| | | | #4801 , closes #4984
* Change hash grid in 2D physics to contemplate large objects as separate ↵Juan Linietsky2016-06-182-16/+127
| | | | cases, to avoid huge memory and performance penalty. Fixes #4662
* Drop empty .cpp files for header-only classesRémi Verschelde2016-06-181-30/+0
| | | | Part of #5272
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-182-0/+56
| | | Also removes a couple wrong Godot headers from third-party source files.
* First version of ProfilerJuan Linietsky2016-05-215-4/+102
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* RigidBody2D (add_force, set_inertia): new methods.Josh Grams2016-04-265-3/+32
|
* RigidBody2D: rename apply_impulse(pos) to offset.Josh Grams2016-04-241-3/+3
|
* RigidBody2D: add and bind get_inertia() method.Josh Grams2016-04-201-0/+4
| | | | | | | 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.
* Fixed #4163 (intersect_shape crashes on results limit)Marc Gilleron2016-04-121-1/+1
|
* Merge pull request #3999 from neikeq/issues_3650_3990Rémi Verschelde2016-03-101-8/+12
|\ | | | | Fix crash when resizing ConcavePolygonShape2D segments
| * Fix crash when resizing ConcavePolygonShape2D segmentsIgnacio Etcheverry2016-03-091-8/+12
| |
* | remove trailing whitespaceHubert Jarosz2016-03-097-13/+13
|/
* Physics2D: Allow to use 'intersect_point' with objects which is not 'pickable'Biliogadafr2016-02-012-3/+3
|
* Merge pull request #2698 from Faless/add_area_fixJuan Linietsky2016-01-231-3/+19
|\ | | | | Fix bug in Body(2D)SW::add_area
| * Fix Body (and Body2D) add_area / remove_area when area have multiple shapesFabio Alessandrelli2015-12-021-3/+19
| |
* | -Fix crash at exit due to unnecesary check in command queue, fixes #2034Juan Linietsky2016-01-041-4/+4
| | | | | | | | -Fix memory corruption due to using wrong singleton in multithreaded physics, fixes #2760
* | physics state properly returns contact metadata, closes #1979Juan Linietsky2016-01-034-2/+28
| |
* | skip the first integration in physics bodies, fixes #2213Juan Linietsky2016-01-022-1/+5
| |
* | properly removing unprocessed objects from physics islands fixes one way ↵Juan Linietsky2016-01-013-5/+55
| | | | | | | | platforms for rigidbodies, closes #2345
* | Update copyright to 2016 in headersGeorge Marques2016-01-0132-32/+32
| |
* | remove error print in area collision, should be a valid situation, closes #2463Juan Linietsky2015-12-311-2/+1
| |
* | New and corrected are override modes.Ovnuniarchos2015-12-141-10/+23
| |
* | Areas now calculate their dampenings the same way as their gravity.Ovnuniarchos2015-12-082-11/+16
|/
* -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky2015-11-191-1/+1
|
* Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-1/+0
| | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
* Merge pull request #2587 from eska014/fix-area2d-mask-matchingJuan Linietsky2015-10-171-2/+2
|\ | | | | Fix Area/Area2D mask matching
| * Fix Area2D type mask matchingeska2015-10-091-2/+2
| |
* | Expose softness parameter of pin joint to the editor.Biliogadafr2015-10-105-0/+38
|/
* Ability to visually debug geometry visually:Juan Linietsky2015-09-206-1/+69
| | | | | | | -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
* merged some stuff for okamJuan Linietsky2015-09-031-0/+8
|
* Added gravity scale, and linear/angular damp override to 3D physics.Juan Linietsky2015-08-301-3/+3
|
* small fixesJuan Linietsky2015-06-301-2/+2
|
* Merge pull request #1932 from Faless/gravity_distance_fullJuan Linietsky2015-06-073-3/+13
|\ | | | | Calculate gravity based on distance from body to gravity point
| * Calculate gravity based on distance from body to gravity point (2D)Fabio Alessandrelli2015-05-183-3/+13
| |
* | -fix bug in animation editorJuan Linietsky2015-05-271-1/+1
| | | | | | | | -fix crash bug in physics motion, closes #1993
* | oops, previous commit was not workingJuan Linietsky2015-05-262-4/+14
| | | | | | | | it is working now
* | ability to run 2D physics in a threadJuan Linietsky2015-05-264-9/+474
|/ | | | | also, 2D physics is now thread safe too. see physics_2d/thread_model
* sleeping property now should work properly, fixes #1892Juan Linietsky2015-05-162-1/+3
|
* -improved one-way collision handling in both dynamic and character bodies ↵Juan Linietsky2015-05-103-4/+19
| | | | for 2D, fixes #1854
* improved kinematic motion, improved demos for kinematic motionJuan Linietsky2015-05-032-30/+39
|
* -Made one way collision work with 2D physics (rigidbody)Juan Linietsky2015-05-033-1/+61
|
* -new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky2015-05-037-14/+37
|
* properly wake up bodies when a parameter changes, fixes #1740Juan Linietsky2015-04-263-2/+19
|
* casting line into physics on negative space now works properly, fixes #1726Juan Linietsky2015-04-241-3/+4
|
* -Rewritten KinematicBody2D::move to MUCH more efficient code.Juan Linietsky2015-04-194-0/+521
| | | | | | -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.
* Merge pull request #1691 from Faless/area_combine_2dJuan Linietsky2015-04-182-18/+26
|\ | | | | Implement Area2D space_override_mode = COMBINE
| * Fix operator definition for AreaCMPFabio Alessandrelli2015-04-141-1/+1
| |