summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2023-01-12Fix style issue in ShapeCast3D after #68409Rémi Verschelde
Somehow that PR didn't run the CI checks.
2023-01-12Merge pull request #68409 from Jasuse/shapecast3d_dbg_shape_fixRémi Verschelde
Fix debug shape of `ShapeCast3D` not updating on `Shape` change
2023-01-10Merge pull request #70716 from ↵Rémi Verschelde
Calinou/particles-tweak-animation-offset-property-hint Tweak particles animation offset property hint to allow more precise values
2023-01-09Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky
* Remove unused `EditorPropertyMember` and related hints, previouly used by VisualScript. Such logic should be implemented in the VS module itself. * As the above broke compatibility with the VS module, clean up the other hacks that were still in core in support of VisualScript. * `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's `get_translatable_strings()`, which is a legacy function not used anywhere. So both are removed. * Reordered some usage flags after the above removal to minimize the diff. * General clean up. Fixes #30203. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-08Merge pull request #70463 from DarkKilauea/nav-server-constRémi Verschelde
[4.x] Rework const on NavigationServer methods
2023-01-08Merge pull request #69809 from KoBeWi/runtime_enabler_2dRémi Verschelde
Fix VisibleOnScreenEnabler disabling in editor
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05Test joint type on _set for PhysicalBone jointsJoJoX
2023-01-05`AnimatedSprite{2D,3D}` improvementsDanil Alexeev
* Add support for individual frame duration to `SpriteFrames`. * Various minor improvements.
2023-01-03Merge pull request #63650 from fabriceci/apply-moving-platform-angular-velocityRémi Verschelde
Allow to apply the angular velocity of a moving platform
2023-01-03Merge pull request #69972 from adamscott/add-server-checks-before-freeRémi Verschelde
Add safety-checks before some servers `free()`
2023-01-02Merge pull request #67853 from Zylann/fix_lods_with_doublesClay John
Fix usages of mesh simplification functions in float=64 builds
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-29Tweak particles animation offset property hint to allow more precise valuesHugo Locurcio
Values above 1.0 (or below 0.0) are no longer allowed, as these make no visual difference whatsoever (and may cause particles not to appear at all if looping is disabled).
2022-12-23Merge pull request #69998 from BastiaanOlij/sorting-pivot-4Rémi Verschelde
Added options for sorting transparent objects (port of PR #63040)
2022-12-23Added options for sorting transparent objects (port of PR 63040)Bastiaan Olij
2022-12-22Remove compatibility code for MeshInstance3D surface override materialclayjohn
2022-12-21Merge pull request #69688 from smix8/navagent_stop_origin_automove_4.xRémi Verschelde
Stop NavigationAgents without a target from moving to world origin
2022-12-21Merge pull request #67111 from DarkKilauea/nav-queries-linkRémi Verschelde
Added signal to NavigationAgent when entering a link
2022-12-20Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compatRémi Verschelde
[4.x] Fix typo and ensure backwards compatibility for changed property names
2022-12-20Merge pull request #70312 from MarcusElg/rigidbodyworldboundarywarningRémi Verschelde
Show warning when having a WorldBoundaryShape3D as a child of a RigidBody3D
2022-12-20Fix typo and ensure backwards compatibility for changed property namesJosh Jones
Changes to the name of the `navmesh` and `navpoly` properties on `NavigationRegion` caused navigation data to be lost on load. This PR creates uses `_set`/`_get` to handle compatibility with the older names on load, preserving the data. Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`, and renames the property to remove the `polygon_` prefix which doesn't match the setter/getter. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-19Show warning when having a worldboundaryshape as a child of a rigidbodyMarcus Elg
2022-12-19Restore 'rotation_degrees' properties.Juan Linietsky
By popular demand, restoring the helper properties to rotate objects in degrees. Affected are local and global rotations for: * Node2D * Node3D * Control
2022-12-17Add support for emitting a signal when entering a NavLinkJosh Jones
2022-12-17Fix Navigation API abbreviations inconsistencysmix8
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17Merge pull request #70114 from clayjohn/custom-aabbRémi Verschelde
Expose GeometryInstance3D.custom_aabb property
2022-12-16Switch surface indexing to start at 0 so string name matches integer indexclayjohn
2022-12-15Expose GeometryInstance3D.custom_aabb propertyclayjohn
2022-12-15Fix the update of the inspector when instance shader uniform has changedYuri Rubinsky
2022-12-14Remove extra range conversion in Sprite3D normal encodingclayjohn
2022-12-14Fix VisibleOnScreenEnabler disabling in editorkobewi
2022-12-14Merge pull request #69527 from clayjohn/surface-nameRémi Verschelde
Index override surface name starting from 1 to match surface name
2022-12-12Merge pull request #69629 from smix8/agent_wild_callback_pointer_4.xRémi Verschelde
Fix Navigation agent callback wild pointer crash
2022-12-12Fix Navigation agent callback wild pointer crashsmix8
Fixes crash in sanitizer builds when callback agent or object are already freed.
2022-12-11Merge pull request #69850 from timothyqiu/defer-gizmoRémi Verschelde
Use ObjectID as argument when referred-calling `_request_gizmo`
2022-12-10Enable assigning an owner to navigation regions and linksJosh Jones
This allows users of the server APIs to get back the nodes that created certain regions and links.
2022-12-10Use ObjectID as argument when referred-calling _request_gizmoHaoyu Qiu
Fixes crash on project launch.
2022-12-07Index override surface name starting from 1 to match surface nameclayjohn
2022-12-07Merge pull request #68682 from timothyqiu/camera-gizmo-sizeRémi Verschelde
Make Camera3D gizmo the same aspect ratio as its viewport
2022-12-06Stop NavigationAgents without a target from moving to world originsmix8
Stops NavigationAgents moving to the world origin without anyone telling them to do so.
2022-12-05Tweak shadow bias defaults for DirectionalLight3D and OmniLight3DHugo Locurcio
- Increase DirectionalLight3D normal bias to 2.0 to reduce shadow acne at grazing angles. - Decrease OmniLight3D bias to 0.1 to reduce shadow peter-panning.
2022-12-05Merge pull request #69531 from BastiaanOlij/fix_origin_current_issueRémi Verschelde
Fix recurrence issue with setting current origin node
2022-12-05Fix recurrense issue with setting current origin nodeBastiaan Olij
2022-12-04[TextMesh] Fix autotranslate.bruvzg
2022-11-28GPUParticlesCollisionSDF3D add null `bake_step_function` checkdzil123
2022-11-25Use a more specific type for Mesh create_(convex|trimesh)_shapeAaron Franke