summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-06-15Streamline Navigation layer function names.smix8
Streamline Navigation layer function names.
2022-06-14Add NavigationAgent set_navigation_map() functionsmix8
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
2022-06-14Merge pull request #59125 from KoBeWi/link_to_the_vectorRémi Verschelde
2022-06-14Merge pull request #61861 from techiepriyansh/multi-image-atlasesRémi Verschelde
2022-06-14Add vector value linkingkobewi
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-14save lightmap as multi-image atlasPriyansh Rathi
2022-06-13Tweak Light3D property hints for greater flexibilityHugo Locurcio
- Specular can now be set above 1.0. - Blur can be set to 0 to disable shadow blurring entirely, which is useful on lights that have a non-zero size. - When shadow blurring is disabled, lights that have a non-zero size will not use PCSS-like soft shadows, speeding up shadow rendering considerably. - Some property hints now allow more precise values.
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-10SoftBody: Fix attachments property names after #61180Rémi Verschelde
Fixes #61581.
2022-06-06Add NavigationRegion costs for pathfindingsmix8
Add NavigationRegion costs for pathfinding.
2022-06-02Merge pull request #61625 from smix8/navigation_debugview_mesh_scripted_4.xRémi Verschelde
2022-06-02Merge pull request #60517 from Calinou/3d-editor-audiostreamplayer3d-add-gizmoJFonS
2022-06-02Add NavigationMesh debug when navmesh is added later through scriptssmix8
Add NavigationMesh debug when navmesh is added later through scripts
2022-06-01Fix NavigationAgent reparent issuessmix8
Fix NavigationAgent reparent issues
2022-05-26Add a gizmo to visualize AudioStreamPlayer3D's audible radiusHugo Locurcio
The ring's color changes depending on the attenuation model chosen, and whether Max Distance is capping the distance the sound can be heard at. Cold colors are used when the volume cap is a "soft" cap (the sound can still be heard past the distance, but only faintly). Warm colors are used when the volume cap is a "hard" cap (the sound can't be heard past the distance at all). White is used for linear fade performed when the attenuation model is Disabled and Max Distance is greater than 0. No ring is drawn when the attenuation model is Disabled and Max Distance is equal to 0 (since the sound can be heard from anywhere).
2022-05-26Fix errors when materials attached to 3d object are not freedYuri Rubinsky
2022-05-25Only call _update_panning during _physics_process.Lyuma
2022-05-25Add Cone and Cylinder shapes to FogVolumeHugo Locurcio
This complements the existing Ellipsoid and Box local fog shapes. This can be used to represent a light cone coming from a SpotLight.
2022-05-23Merge pull request #61311 from trollodel/fix_joint3d_warning_crashRémi Verschelde
2022-05-23[Label3D, 4.x] Monitor default theme font changes, to prevent use of invalid ↵bruvzg
materials.
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-21Tweak the GPUParticles3D Transform Align property hint for readabilityHugo Locurcio
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-18Merge pull request #60599 from rburing/rest_on_recovery_paramRémi Verschelde
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-18Defer group calls in Node3Dkobewi
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-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-16Merge pull request #61032 from smix8/navigationmesh_bake_no_threads_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-16Disable threaded NavigationMesh bake on unsupported OSsmix8
Automatically disables threaded NavigationMesh bake when OS does not support threads.
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-13Remove unused `GPUParticlesCollisionHeightField3D.follow_camera_push_ratio` ↵Hugo Locurcio
property - Rename setter/getter methods for consistency. - Remove section in the inspector as there is now only 1 property within the section. - Add performance hints to property hints.
2022-05-12Capitalize/fix some property enum hintsFireForge
2022-05-10Merge pull request #60917 from akien-mga/ci-emscripten-3.1.10Rémi Verschelde
2022-05-10Merge pull request #51591 from Calinou/call-group-default-immediateRémi Verschelde
Make `{call,set,notify}_group()` immediate by default
2022-05-10Fix warnings found by Emscripten 3.1.10Rémi Verschelde
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and `-Wliteral-range` warnings.
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-04Add ability to `bake_navigation_mesh` off thread.Pawel Lampe
This feature makes it possible to workaround problems such as: - long baking time due to heavy synchronization when parsing geometry from mesh instances - crash when freeing `NavigationMeshInstance` while baking - errors when actively baking node tree is being detached from the scene tree
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke