summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-08-25Merge pull request #64804 from Mickeon/rename-path-progressRémi Verschelde
2022-08-25Merge pull request #64354 from Mickeon/rename-navigation-distanceRémi Verschelde
2022-08-25Merge pull request #64824 from Mickeon/rename-polygon-invertRémi Verschelde
2022-08-25Shorten variable names for moving platforms in CharacterBodyfabriceci
2022-08-24Improves the API for monitoring contacts in RigidDynamicBodyfabriceci
2022-08-24Rename Polygon2D.`invert_enable` to end with "d"Micky
Polygon2D.`invert_enable` -> `invert_enabled` Also affects the setters and getters, which are now named in full instead of cutting "enabled" off. Updates old leftover documentation slightly, as well.
2022-08-24Merge pull request #64370 from Mickeon/rename-marker-nodeRémi Verschelde
Rename Position* nodes to Marker*
2022-08-24Merge pull request #64009 from KoBeWi/arrayy_lmaoRémi Verschelde
Replace Array return types with TypedArray (part 2)
2022-08-24Rename PathFollow's `offset`s to `progress` & `progress_ratio`Micky
Applies for both PathFollow2D and PathFollow3D
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-23Rename Position* nodes to Marker*Micky
- Position2D -> Marker2D - Position3D -> Marker3D Also changes their respective file names.
2022-08-23Rename properties unnecessarily using slash (`/`) in their namesRémi Verschelde
This is a legacy of Godot 2 days before the inspector had support for groups. "Properties" with a slash in their name can't be accessed from script unless using `set()`/`get()` so they were not actual properties as far as script languages are concerned. Part of #17558.
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-22Merge pull request #64339 from YuriSizov/core-multilevel-validate-propertyRémi Verschelde
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-22Merge pull request #64343 from TokageItLab/priority-phRémi Verschelde
2022-08-22Merge pull request #64553 from RedMser/fix-property-validation-refactorRémi Verschelde
2022-08-22Use false as default for use_proxies argumentkobewi
2022-08-22Merge pull request #54549 from KoBeWi/fastcellsYuri Sizov
Add a method to get TileData from a cell
2022-08-22Expose the collider RID in Raycast nodesPaul Joannon
Create and expose the method `get_collider_rid` in `RayCast2D` and `Raycast3D`. This method returns the `RID` of the first object that the ray intersects, or an empty `RID` if no object is intersecting the fay (i.e. `is_colliding` returns `false`).
2022-08-18Remove unintentional PROPERTY_USAGE_INTERNALRedMser
The flag only matters for property definition, but was also used in _validate_property a lot.
2022-08-18Add collision weight to PhysicsBody for penetrations must be avoidedSilc Renew
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2022-08-16Add a method to get TileData from a cellkobewi
2022-08-15Clarify the Line2D, Curve2D/3D documentation and fix parameter namesYuri Sizov
2022-08-13Rename Navigation's `neighbor_dist` to `neightbor_distance`Micky
NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters) NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()` Also changes their parameters' names. Doesn't affect "Agent.neighborDist_" in Agent.h
2022-08-10add get_depth() to KinematicCollision3D as same of 2DSilc Renew
2022-08-08Merge pull request #64034 from DarkKilauea/fix-nav-region-gizmoRémi Verschelde
2022-08-07Fix typo when setting NavigationRegion travel_costJosh Jones
2022-08-06Fix NavigationRegion3D gizmo's odd visual behaviorJosh Jones
2022-08-06Merge pull request #63776 from fire-forge/shapecast2dRémi Verschelde
Add ShapeCast2D editor handle and improve debug drawing
2022-08-02Use global coordinates for particles by defaultHugo Locurcio
Particles won't move or rotate anymore with the node (or its parents) by default. This new default behavior is generally more suited to most use cases. Local coordinates can still be enabled on a per-node basis. This affects both 2D and 3D particles, and both CPU and GPU-based particles.
2022-07-31Improve ShapeCast2D editor and debug drawingFireForge
- Rename RayCast2DEditorPlugin to Cast2DEditorPlugin and make it also support editing ShapeCast2D. - Apply RayCast2D debug drawing improvements from #46675 to ShapeCast2D.
2022-07-29Merge pull request #63595 from reduz/remove-signal-connect-bindsRémi Verschelde
Remove Signal connect binds
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-29Merge pull request #62601 from smix8/navigation_3d_debug_4.xRémi Verschelde
2022-07-29Add more detailed Navigation Debug Visualizationsmix8
- Adds more customization options to ProjectSettings. - Displays navregion edge connections and navigation polygon edges in editor and at runtime. - Majority of debug code moved from SceneTree to NavigationServer. - Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-28Ensure changes to Camera2D's limits don't affect smoothed_camera_posMarcel Admiraal
2022-07-28When Camera2D enters tree, ensure first update is not lostMarcel Admiraal
2022-07-28Merge pull request #57698 from ↵Rémi Verschelde
bluenote10/feature/rename_translated_to_translated_local
2022-07-26Merge pull request #63484 from groud/fix_tilemap_clear_layerRémi Verschelde
2022-07-26Fixes TileMap clear_layer not recreating internal CanvasItemsGilles Roudière
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-23Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde
Implement BPM support in AudioStream files.
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-21Fix various typos not caught by codespellluz paz
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-18Merge pull request #61590 from Haydoggo/path-follow-fixRémi Verschelde
2022-07-17Update camera position when updating camera limitMarcel Admiraal
2022-07-16rename translate(d) to translate(d)_local in Transform 2D/3DFabian Keller
2022-07-14prevent crash on NaN offset in path_follower 2d and 3dHayden Leete
2022-07-08Account for relative z-indexes when y-sortingXentripetal