aboutsummaryrefslogtreecommitdiff
path: root/servers/physics
Commit message (Collapse)AuthorAgeFilesLines
* Workaround for clang 6 bug.bruvzg2018-05-141-9/+9
|
* Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-0/+1
| | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* Merge pull request #17594 from ivodopiviz/float-overflowJuan Linietsky2018-04-081-1/+2
|\ | | | | Changed debug max distance to avoid overflow
| * Changed debug max distance to avoid overflowIvan Vodopiviz2018-03-171-1/+2
| | | | | | | | | | Changed it to roughly sqrt(FLT_MAX), it's a little less to account for float inaccuracies. Fixes #1835
* | Fix missing const in CapsuleShapeSW::get_areaMarcelo Fernandez2018-03-211-1/+1
|/
* Merge pull request #16757 from AndreaCatania/kinpushRémi Verschelde2018-02-204-5/+5
|\ | | | | Improved kinematic body, Now can move rigid body
| * Improved kinematic body 2D and 3D, Now can move rigid bodyAndrea Catania2018-02-204-5/+5
| |
* | Merge pull request #16530 from AndreaCatania/raysRémi Verschelde2018-02-193-4/+20
|\ \ | | | | | | Improved ray shape (2D and 3D) by addiing the possibility to act as r…
| * | Improved ray shape (2D and 3D) by addiing the possibility to act as regular ↵Andrea Catania2018-02-193-4/+20
| | | | | | | | | | | | shape
* | | Merge pull request #16751 from AndreaCatania/moreAPIsRémi Verschelde2018-02-191-0/+11
|\ \ \ | | | | | | | | Added Physics state APIs
| * | | Added Physics state APIsAndrea Catania2018-02-161-0/+11
| | |/ | |/|
* / | Clean up some bad words from code commentsArtem Varaksa2018-02-171-4/+4
|/ /
* / Added physics API in order to enable/disable collisions between rigidbody ↵Andrea Catania2018-02-053-0/+35
|/ | | | | | attached to a joint with bullet physics bullet Fixes #16424
* Fix inconsistencies and typos in argument namesPaolo Perkovic2018-02-011-2/+2
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0532-0/+32
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-0143-86/+86
| | | | Happy new year to the wonderful Godot community!
* Implemented physics linear and angular lockAndreaCatania2017-12-104-21/+36
|
* Merge pull request #12756 from Stratos695/masterRémi Verschelde2017-12-094-25/+22
|\ | | | | Allowing double-axis lock in RigidBody & KinematicBody (Fixes #12500)
| * Allow double-axis lock in RigidBody and KinematicBodyEric Rybicki2017-11-104-25/+22
| |
* | Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-0712-32/+44
| |
* | 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
|