aboutsummaryrefslogtreecommitdiff
path: root/servers/physics
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11702 from AndreaCatania/bodyDSRémi Verschelde2017-10-092-0/+18
|\ | | | | Added new API to get body direct state
| * Added new API to get body direct stateAndreaCatania2017-09-292-0/+18
| |
* | Renamed fixed_process to physics_processAndreaCatania2017-09-302-2/+2
|/
* Rename pos to position in user facing methods and variablesletheed2017-09-203-7/+7
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Renamed function arguments to keep them consistent between declaration and ↵Wilson E. Alvarez2017-09-141-1/+1
| | | | implementation
* Merge pull request #11125 from zavb074/masterRémi Verschelde2017-09-131-2/+0
|\ | | | | Removed code that flips normal if facing away from test direction
| * Removed code that flips normal if facing away from test directionLewis2017-09-091-2/+0
| |
* | Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde2017-09-122-1/+4
|\ \ | | | | | | Fix unused variable warnings
| * | Fix unused variable warningsHein-Pieter van Braam2017-09-082-1/+4
| |/ | | | | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* / Fix various assorted warningsHein-Pieter van Braam2017-09-081-1/+2
|/ | | | | Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
* -Added an optimization so physics shapes are configured later, speeds up ↵Juan Linietsky2017-09-034-8/+51
| | | | grid map loading and editing
* Fix use of unitialized variablesHein-Pieter van Braam2017-09-023-9/+9
| | | | The second in my quest to make Godot 3.x compile with -Werror on GCC7
* Dead code tells no talesRémi Verschelde2017-08-275-283/+7
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2743-43/+43
|
* Added/Fixed null pointer checksWilson E. Alvarez2017-08-261-6/+3
|
* Removed unnecessary assignmentsWilson E. Alvarez2017-08-212-8/+3
|
* 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.