summaryrefslogtreecommitdiff
path: root/servers/physics
AgeCommit message (Collapse)Author
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
2017-01-15Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde
2017-01-15fixed to 2D physics, makes it work againJuan Linietsky
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-10Merge pull request #7426 from m4nu3lf/bugfix/physicsJuan Linietsky
Fixed inertia tensor computation and center of mass
2017-01-09Fixed inertia tensor computation and center of massm4nu3lf
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
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-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
2016-10-03Expose more 2D/3D physics options in project settingsFabio Alessandrelli
2016-07-24Fix for incorrect velocity report due to a typo.Alex Piola
Closes #5854
2016-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-06-18Drop fully commented-out filesRémi Verschelde
Part of #5272
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-23Remove noisy printCarter Anderson
2016-05-21First version of ProfilerJuan Linietsky
It is now possible to profile GDScript as well as some parts of Godot internals.
2016-04-09Port collision and layer masks to 3D, fixes #1759Bojidar Marinov
Raycasts now have type_mask and layer_mask. Areas - collision_mask and layer_mask. PhysicsBodies needed only collision_mask.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-01-23Merge pull request #2698 from Faless/add_area_fixJuan Linietsky
Fix bug in Body(2D)SW::add_area
2016-01-10avoid crash with empty concavepolygonshape, fixes #3169Juan Linietsky
2016-01-10change intersect_ray function to discriminate pickable objects, fixes #3203Juan Linietsky
2016-01-02skip the first integration in physics bodies, fixes #2213Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-28Remove bogus argument in body_get_nodeRémi Verschelde
2015-12-14New and corrected are override modes.Ovnuniarchos
2015-12-08Merge pull request #2868 from akien-mga/pr-fix-can-move-toJuan Linietsky
Fix can_move_to and rename it for more clarity
2015-12-08Areas now calculate their dampenings the same way as their gravity.Ovnuniarchos
2015-12-04Fix wrong index being used to populate r_resultsRémi Verschelde
Regression from f33d9da.
2015-12-02Fix Body (and Body2D) add_area / remove_area when area have multiple shapesFabio Alessandrelli
2015-11-22Fix can_move_to and rename it for more clarityRémi Verschelde
Fixes #2416. The KinematicBody::can_move_to function was likely designed for two behaviours: - discrete: check if the body can "teleport" to the destination - continuous: check if the direct path to the destination is valid The continuous behaviour was however not implemented, and the discrete behaviour was broken too due to a wrong call to intersect_shape. The discrete behaviour has thus been fixed and the function renamed to can_teleport_to for more clarity.
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 #2479 from firefly2442/cppcheck-unusedvarsJuan Linietsky
ran cppcheck, found unused variables
2015-10-10Fix 3D Area mask matchingeska
2015-10-08newline fixesreduz
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-16ran cppcheck, found unused variablesfirefly2442
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-12added ability for Area (3D) to detect other areasJuan Linietsky
2015-05-18Calculate gravity based on distance from body to gravity pointFabio Alessandrelli
2015-05-16sleeping property now should work properly, fixes #1892Juan Linietsky
2015-05-06optional formal changesehriche