aboutsummaryrefslogtreecommitdiff
path: root/servers/physics
Commit message (Collapse)AuthorAgeFilesLines
* Removed type_mask and fixed some variable nameAndreaCatania2017-11-212-28/+20
|
* Rename Rect3 to AABB.Ferenc Arn2017-11-1713-63/+63
| | | | Fixes #12973.
* Disabled filter clip by default and made it optional, fixes #12368, likely ↵Juan Linietsky2017-11-101-2/+2
| | | | others too
* Merge pull request #12713 from AndreaCatania/masterJuan Linietsky2017-11-094-3/+28
|\ | | | | Rewritten kinematic system
| * Rewritten kinematic systemAndreaCatania2017-11-074-3/+28
| |
* | Merge pull request #11379 from m4nu3lf/feature/no_bias_overrotationRémi Verschelde2017-11-083-12/+37
|\ \ | |/ |/| Avoid bias over rotation in contact resolution
| * Avoid bias overrotation in contact resolutionm4nu3lf2017-09-183-12/+37
| |
* | Merge pull request #11249 from m4nu3lf/bugfix/get_eulerRémi Verschelde2017-10-312-4/+5
|\ \ | | | | | | Fix inertia tensor update & Generic6DOFJoint & Simplify Basis::get_euler()
| * | Fix wrong index in get_euler_xyz and wrong get_euler in G6DF Jointm4nu3lf2017-09-221-1/+1
| | |
| * | Fix Inertia tensor update & Generic 6DOF Jointm4nu3lf2017-09-222-3/+4
| | |
* | | Merge pull request #10770 from RandomShaper/fix-jointsRémi Verschelde2017-10-311-14/+0
|\ \ \ | | | | | | | | Fix joints collision exceptions, plus a bit more
| * | | Remove joint freeing logic from physics serversPedro J. Estébanez2017-09-091-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | Since joint resources are created by joint nodes and also they take care of freeing them, the physics server doesn't need to free bodies' joints explicitly. The logic for clearing the constraints map/set is still relevant as there may be collision pairs and in their case its the server itself the one creating them and therefore releasing them.
* | | | Rename RayCasts collision_layer to collision_maskPedro J. Estébanez2017-10-212-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`. Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property. Fixes #7589, where it's also discussed.
* | | | Added documentation for 3D Joints, the 2D Pin Joint, and the Physicsservers, ↵Grosskopf2017-10-141-2/+2
| | | | | | | | | | | | | | | | also a minor bugfix in the 3D Pinjoint.
* | | | 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