summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-06-14Add NavigationAgent set_navigation_map() functionsmix8
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
2022-06-14Add Vector2/3 linking to more propertiesFireForge
- Camera2D.zoom - CanvasLayer.scale - ParallaxBackground.scroll_base_scale - ParallaxLayer.motion_scale - Polygon2D.texture_scale - BaseMaterial3D.uv1_scale - BaseMaterial3D.uv2_scale
2022-06-14Add vector value linkingkobewi
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-13Fixes terrains for isometric tilemapsGilles Roudière
2022-06-13Merge pull request #61809 from groud/terrain_center_bitRémi Verschelde
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-10Add terrain center bitGilles Roudière
2022-06-10Merge pull request #52415 from deakcor/dev-node2dRémi Verschelde
Fix global properties setters and add global skew for node2d
2022-06-06Add NavigationRegion costs for pathfindingsmix8
Add NavigationRegion costs for pathfinding.
2022-06-02Expose get_mesh() for NavigationPolygon Resourcessmix8
Expose get_mesh() for NavigationPolygon Resources.
2022-06-01Fix NavigationAgent reparent issuessmix8
Fix NavigationAgent reparent issues
2022-05-29Update VisibleOnScreenNotifier2D when rect changedkobewi
2022-05-24Fix global properties and add global skew for node2dVincent D
Renamed parent item variable in node2d global setters and optimize Aligned variable renaming in global setters Optimize node2d global setters Add global skew description in doc Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2022-05-23Fix Joint3D and Joint2D warning causing a crashtrollodel
2022-05-22Merge pull request #61235 from smix8/navigation_agent_avoidance_processing_4.xRémi Verschelde
2022-05-20Process NavigationAgent2D/3D avoidance on demand onlysmix8
Changes NavigationAgent avoidance callback to a toggle that is disabled by default. Also fixes a few missing descriptions / wrong warnings.
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use suffixes for units in nodes and resourcesAaron Franke
2022-05-19Merge pull request #61128 from smix8/navigation_agent_process_mode_4.xRémi Verschelde
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-18Add motion parameter to toggle whether recovery is reported as a collisionRicardo Buring
This makes the intent explicit in each use case.
2022-05-18Update NavigationRegion2D when polygons of NavigationPolygon changesmix8
Updates NavigationRegion2D when the NavigationPolygon emits its 'changed' signal due to e.g. polygons altered by script.
2022-05-17Make Navigation Agents and Obstacles respect parent process modesmix8
Temporarily removes agent from navigation map when parent node cannot process due to SceneTree pause and process_mode property. Normal process_mode does not work as other agents would still avoid the paused agents because they were still active on the navigation map and the rvo world. Also fixes potential crash when region_get_map or agent_get_map is called while no map is set.
2022-05-16Fix AnimatedSprite doesn't emit animation_finished when changing playback ↵Haoyu Qiu
direction
2022-05-16Merge pull request #60986 from fire-forge/capitalismRémi Verschelde
2022-05-16Merge pull request #61057 from smix8/navigation_obstacle_transform_error_4.xRémi Verschelde
2022-05-16Merge pull request #61038 from smix8/navigation_obstacle_rid_config_warn_4.xRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-15Fix NavigationObstacle2D/3D get_global_transform() errorsmix8
Fixes NavigationObstacle2D/3D reporting a 'get_global_transform: Condition "!is_inside_tree()" error when estimating the agent radius. The collisionshapes that are lower in the SceneTree order than the obstacle node are not loaded in the SceneTree yet so the global_transform function fails. Also adds warning message when this happens.
2022-05-15Expose NavigationObstacle2D/3D get_rid() and add config warningsmix8
Exposes get_rid() function for scripting. Adds configuration warning when obstacle is used with not intended static body parent.
2022-05-12Capitalize/fix some property enum hintsFireForge
2022-05-10Merge pull request #51591 from Calinou/call-group-default-immediateRémi Verschelde
Make `{call,set,notify}_group()` immediate by default
2022-05-09Mention that Area2D doesn't support one_way_collisionkobewi
2022-05-05Make `{call,set,notify}_group()` immediate by defaultHugo Locurcio
This results in less surprising behavior out of the box. Internal usages were modified to keep the existing behavior identical there.
2022-05-05Add autocompletion for AnimatedSprite.play()Haoyu Qiu
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-01Merge pull request #60655 from smix8/navigation_region_rid_4.xRémi Verschelde
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30Add get_region_rid() NavigationRegion2D and NavigationRegion3Dsmix8
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-29Merge pull request #59297 from fabriceci/fix-jitter-2D-slight-slopeRémi Verschelde
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke
2022-04-28Merge pull request #59438 from ↵Rémi Verschelde
fabriceci/fix-move-and-collide-reported-collisions Fix wrong collision reported on move_and_collide
2022-04-27Merge pull request #58685 from ↵Rémi Verschelde
IgorKordiukiewicz/gpu_particles_2d_interpolation_property Added interpolation property to GPUParticles2D
2022-04-27Merge pull request #60321 from rburing/pathfollow_offset_yes_a_numberRémi Verschelde
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-27Fix TileMap::set_pattern offsetsSamuel Wilson
Currently it is trying to use the target coordinates (i.e., in the destination TileMap) to pull from the pattern, rather than the pattern-local coordinates.
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-24correct initial cpu particle velocityRedHeadphone