summaryrefslogtreecommitdiffstats
path: root/scene/3d/collision_shape.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-4/+3
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Keep shapes bound to out-of-tree 3D physics objectsPedro J. Estébanez2017-08-161-7/+0
| | | | | | | | Now the shape in the physics server is unbound only when it's unparented from its body, because if it's unbound when just exiting the tree, a later readd would have the body shapeless in the server. It's the same currently being done in 2D physics. Fixes #10074.
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-3/+3
|
* Add object type hint for docsPoommetee Ketson2017-07-191-3/+3
|
* Lots of work on Audio & Physics engine:Juan Linietsky2017-07-151-0/+214
-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.