aboutsummaryrefslogtreecommitdiff
path: root/servers/physics (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-169-18/+18
| | | | Fixes #10244.
* Rename cull_AABB to cull_aabbRémi Verschelde2017-08-161-1/+1
| | | | Part of #8830.
* Fix freeze on close of game using 2D physics introduced by #9832Bojidar Marinov2017-08-081-2/+2
| | | | Additionally, port the fix to 3D physics, just in case
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-073-27/+27
|
* Improve cleanup of physics constraintsPedro J. Estébanez2017-08-013-6/+18
| | | | | | | | Don't abort the loop when one is already released Remove warning on already-released constraint Clean up area's contraints as well Clear the constraint data as well Do the cleanup as soon as the space changes
* Add missing initializersPedro J. Estébanez2017-07-251-1/+2
|
* Extend check for same space to all 2D/3D bodies/shapesPedro J. Estébanez2017-07-251-2/+6
|
* Fix early-accepting area-area match when masks don't matchPedro J. Estébanez2017-07-251-3/+3
|
* Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson2017-07-222-2/+2
|
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-192-2/+2
| | | | -Added system for feature overrides, it's pretty cool :)
* Lots of work on Audio & Physics engine:Juan Linietsky2017-07-1514-37/+751
| | | | | | | | -Added new 3D stream player node -Added ability for Area to capture sound from streams -Added small features in physics to be able to properly guess distance to areas for sound -Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children -Fixed KinematicBody API to make it the same as 2D.
* Refactor 'treshold' to 'threshold'Poommetee Ketson2017-07-087-22/+22
|
* ConeTwistJoint: Initialize 'm_angularOnly'.dotquixote2017-06-261-0/+1
|
* Refactor layer_mask to collision_layerPoommetee Ketson2017-06-146-35/+35
|
* renamed all Rect3.pos to Rect3.positionalexholly2017-06-094-8/+8
|
* Improve documentation of thirdparty code snippetsRémi Verschelde2017-05-076-5/+115
|
* Merge pull request #8277 from tagcup/math_checksRémi Verschelde2017-04-241-2/+2
|\ | | | | Added various functions basic math classes. Also enabled math checks …
| * Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn2017-04-061-2/+2
| | | | | | | | | | | | | | | | for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature.
* | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0843-0/+43
|/
* Fix typos in source code using codespellRémi Verschelde2017-03-245-6/+6
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0543-5005/+3986
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Style: prevent bogus macro formatting by clang-formatRémi Verschelde2017-03-051-3/+4
| | | | Also prevent formatting of thirdparty snippet
* Merge pull request #7878 from RebelliousX/elseRémi Verschelde2017-02-281-1/+1
|\ | | | | Bunch of missing `else` statements and general logic
| * Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | | | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* | Inf and NaN support added to GDScript.Saracen2017-02-281-1/+1
|/
* Merge pull request #7802 from tagcup/physics_64bitRémi Verschelde2017-02-2630-309/+261
|\ | | | | Use real_t as floating point type in physics code.
| * Use real_t as floating point type in physics code.Ferenc Arn2017-02-1330-309/+261
| | | | | | | | | | | | This is a continuation of an on-going work for 64-bit floating point builds, started in PR #7528. Covers physics, physics/joints and physics_2d code. Also removed matrixToEulerXYZ function in favor of Basis::get_euler.
* | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-212-2/+2
|/ | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Fixed property setter in G6DOF jointm4nu3lf2017-02-031-1/+1
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-163-3/+3
|
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+1
| | | | | | | | | 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).
* Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde2017-01-151-8/+8
|
* fixed to 2D physics, makes it work againJuan Linietsky2017-01-151-1/+1
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-1414-71/+96
| | | | | 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.
* Type renames:Juan Linietsky2017-01-1117-85/+85
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Merge pull request #7426 from m4nu3lf/bugfix/physicsJuan Linietsky2017-01-1014-69/+143
|\ | | | | Fixed inertia tensor computation and center of mass
| * Fixed inertia tensor computation and center of massm4nu3lf2017-01-0914-69/+143
| |
* | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-072-39/+39
| | | | | | | | renamed to PoolVector
* | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-3/+3
|/ | | | | | | | 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
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-023-3/+3
| | | | | | | | 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()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-024-5/+5
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-034-5/+5
| | | | | | | | | | | | | | | | -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
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0143-43/+43
| | | | | | | | | | | | | | | | 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!
* | style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-172-0/+4
| | | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* | Expose more 2D/3D physics options in project settingsFabio Alessandrelli2016-10-032-1/+2
|/
* Fix for incorrect velocity report due to a typo.Alex Piola2016-07-241-4/+4
| | | | Closes #5854
* Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-084-13/+0
| | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Drop fully commented-out filesRémi Verschelde2016-06-182-570/+1
| | | | Part of #5272
* Drop empty .cpp files for header-only classesRémi Verschelde2016-06-182-65/+0
| | | | Part of #5272