summaryrefslogtreecommitdiff
path: root/servers/physics
AgeCommit message (Collapse)Author
2018-05-14Workaround for clang 6 bug.bruvzg
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
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).
2018-04-08Merge pull request #17594 from ivodopiviz/float-overflowJuan Linietsky
Changed debug max distance to avoid overflow
2018-03-21Fix missing const in CapsuleShapeSW::get_areaMarcelo Fernandez
2018-03-17Changed debug max distance to avoid overflowIvan Vodopiviz
Changed it to roughly sqrt(FLT_MAX), it's a little less to account for float inaccuracies. Fixes #1835
2018-02-20Merge pull request #16757 from AndreaCatania/kinpushRémi Verschelde
Improved kinematic body, Now can move rigid body
2018-02-20Improved kinematic body 2D and 3D, Now can move rigid bodyAndrea Catania
2018-02-19Merge pull request #16530 from AndreaCatania/raysRémi Verschelde
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19Improved ray shape (2D and 3D) by addiing the possibility to act as regular ↵Andrea Catania
shape
2018-02-19Merge pull request #16751 from AndreaCatania/moreAPIsRémi Verschelde
Added Physics state APIs
2018-02-17Clean up some bad words from code commentsArtem Varaksa
2018-02-16Added Physics state APIsAndrea Catania
2018-02-05Added physics API in order to enable/disable collisions between rigidbody ↵Andrea Catania
attached to a joint with bullet physics bullet Fixes #16424
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-10Implemented physics linear and angular lockAndreaCatania
2017-12-09Merge pull request #12756 from Stratos695/masterRémi Verschelde
Allowing double-axis lock in RigidBody & KinematicBody (Fixes #12500)
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-11-21Removed type_mask and fixed some variable nameAndreaCatania
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-10Allow double-axis lock in RigidBody and KinematicBodyEric Rybicki
2017-11-10Disabled filter clip by default and made it optional, fixes #12368, likely ↵Juan Linietsky
others too
2017-11-09Merge pull request #12713 from AndreaCatania/masterJuan Linietsky
Rewritten kinematic system
2017-11-08Merge pull request #11379 from m4nu3lf/feature/no_bias_overrotationRémi Verschelde
Avoid bias over rotation in contact resolution
2017-11-07Rewritten kinematic systemAndreaCatania
2017-10-31Merge pull request #11249 from m4nu3lf/bugfix/get_eulerRémi Verschelde
Fix inertia tensor update & Generic6DOFJoint & Simplify Basis::get_euler()
2017-10-31Merge pull request #10770 from RandomShaper/fix-jointsRémi Verschelde
Fix joints collision exceptions, plus a bit more
2017-10-21Rename RayCasts collision_layer to collision_maskPedro J. Estébanez
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.
2017-10-14Added documentation for 3D Joints, the 2D Pin Joint, and the Physicsservers, ↵Grosskopf
also a minor bugfix in the 3D Pinjoint.
2017-10-09Merge pull request #11702 from AndreaCatania/bodyDSRémi Verschelde
Added new API to get body direct state
2017-09-30Renamed fixed_process to physics_processAndreaCatania
2017-09-29Added new API to get body direct stateAndreaCatania
2017-09-22Fix wrong index in get_euler_xyz and wrong get_euler in G6DF Jointm4nu3lf
2017-09-22Fix Inertia tensor update & Generic 6DOF Jointm4nu3lf
2017-09-20Rename pos to position in user facing methods and variablesletheed
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.
2017-09-18Avoid bias overrotation in contact resolutionm4nu3lf
2017-09-14Renamed function arguments to keep them consistent between declaration and ↵Wilson E. Alvarez
implementation
2017-09-13Merge pull request #11125 from zavb074/masterRémi Verschelde
Removed code that flips normal if facing away from test direction
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-09Remove joint freeing logic from physics serversPedro J. Estébanez
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.
2017-09-09Removed code that flips normal if facing away from test directionLewis
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Fix various assorted warningsHein-Pieter van Braam
Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-03-Added an optimization so physics shapes are configured later, speeds up ↵Juan Linietsky
grid map loading and editing
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez