summaryrefslogtreecommitdiffstats
path: root/scene/2d/collision_polygon_2d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #15093 from poke1024/canvas-editor-selectRémi Verschelde2018-01-031-0/+5
|\ | | | | More exact picking for canvas editor
| * More exact picking for canvas editorBernhard Liebl2017-12-271-0/+5
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Rework the canvas_item API for further improves to the canvas item editorGilles Roudiere2017-11-191-1/+1
|
* Fix enums bindingsMaxim Sheronov2017-09-131-0/+3
| | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* Dead code tells no talesRémi Verschelde2017-08-271-7/+0
|
* 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-2/+2
| | | | | | | | | | | | 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/
* Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-2/+3
|
* -Trigger shapes removed in 2D, they became obsolete long ago when areas ↵Juan Linietsky2017-06-231-103/+83
| | | | | | | | | | | could detect their own overlap -Added ability to disable individual collisionshape/polygon -Moved One Way Collision to shape, allowing more flexibility -Changed internals of CollisionObject, shapes are generated from child nodes on the fly, not stored inside any longer. -Modifying a CollisionPolygon2D on the fly now works, it can even be animated. Will port this to 3D once well tested. Have fun!
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-1/+1
|
* Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde2017-04-281-1/+4
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-108/+95
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-11/+11
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-4/+4
| | | | This saves typing and is a step towards fixing #56
* CollisionShape2D: Fix warning icon not updating.Andreas Haas2017-01-221-0/+1
| | | | `CollisionPolygon2D` also had this problem.
* Type renames:Juan Linietsky2017-01-111-1/+1
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-3/+3
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-11/+11
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* -Added configuration warning system for nodesJuan Linietsky2016-05-171-0/+14
| | | | | -Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
* It seems everyone misses the polygon decomposer output, fixes #3069Juan Linietsky2016-01-101-1/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* -Improved convex decomposer for CollisionPolygon2D, fixes #2336Juan Linietsky2015-12-311-3/+49
|
* Add missing argument names in GDScript bindingsRémi Verschelde2015-12-281-2/+2
| | | | | All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
* -collision debug is shown above all else, fixes #2985Juan Linietsky2015-12-121-0/+6
|
* Ability to visually debug geometry visually:Juan Linietsky2015-09-201-18/+82
|\ | | | | | | | | | | | | -Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings
| * Ability to keep collisionshapes and collisionpolygons when running the game.reduz2015-09-151-15/+69
|/ | | | | | | | | | Works for 2D and 3D These are still just helpers in case you want to animate them or access them directly. Modifying the real shapes is still done via CollisionObject and CollisionObject2D APIs But an API was added so you can query which shapes from CollisionObject correspond to which CollisionShape. Have Fun!
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* android fixes, please testJuan Linietsky2015-03-231-0/+12
| | | | (can' t build android atm)
* FixesJuan Linietsky2014-12-201-1/+21
| | | | | | | | -=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-1/+1
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
* CollisionPolygon (3D)Juan Linietsky2014-09-161-1/+2
| | | | Workaround for round() on PC.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+187