summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
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-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-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-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
2022-11-22Fix AudioStreamPlayer2D and 3D's `playing` not updating right awayMicky
2022-11-20Merge pull request #68886 from timothyqiu/motion-distanceRémi Verschelde
Revert move vector parameter name to "motion"
2022-11-19Improve collision exception error messages for easier understandingHugo Locurcio
2022-11-19Revert move vector parameter name to motionHaoyu Qiu
2022-11-18Merge pull request #64212 from xiongyaohua/curve3d_baking_refactorRémi Verschelde
Move rotation interpolation to Curve3d and refactor baking
2022-11-16Merge pull request #68725 from TokageItLab/fix-bone-renamer-for-conflictingRémi Verschelde
Improve BoneRenamer to avoid conflicting with original bone name
2022-11-16Improve BoneRenamer to avoid conflicting with original bone nameSilc Renew
2022-11-15Merge pull request #64077 from ↵Rémi Verschelde
Calinou/tweak-audiostreamplayer2d3d-default-panning Decrease default AudioStreamPlayer2D/3D panning strength
2022-11-15Make Camera3D gizmo the same aspect ratio as its viewportHaoyu Qiu
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-12Refactor Curv3D and PathFollow3DYaohua Xiong
This commit makes the following major changes 1. Add "sample_baked_with_rotation()" to Curve3D, making it usable independently. A similar change was made to Curve2D previously. 2. Refactor the _bake() method on Curve3D, using Parallel Transport Frame instead of Frenet Frame. 3. Refactor the sample_* methods, including: i. Factor out common binary search code, following the DRY principe ii. sample_up_vector() interpolated up vector as part of rotation frame(posture) for consistancy and accuracy.
2022-11-09Some fixes for instance shader parametersYuri Rubinsky
2022-11-07Merge pull request #68346 from Calinou/particles-rename-trail-length-propertyRémi Verschelde
Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`
2022-11-07Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`Hugo Locurcio
The property already has a "seconds" suffix in the inspector. The "lifetime" term makes it more obvious that the property is specified as time, not a distance in units. The property hint now allows manually entering values greater than 10 seconds. The internal rendering value's default now matches the particles nodes' default.
2022-11-07Merge pull request #68321 from BastiaanOlij/xrorigin_start_posRémi Verschelde
Update XRServer with starting position of (new) current XROrigin3D
2022-11-06Update XRServer with starting position of (new) current XROrigin3DBastiaan Olij
2022-11-04Add call_deferred() method to Callablekobewi
2022-11-03Fix typo in method of visual_instance_3dPatrick Siemsen
2022-11-02Unify Node3D RotationOrder with global EulerOrderAaron Franke
2022-11-02Move EulerOrder enum to math_defs.h and global scopeAaron Franke
2022-11-02Merge pull request #68137 from kleonc/shape-cast-get-collider-ridRémi Verschelde
Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-02Merge pull request #67810 from MrBlockers/reged-fixesRémi Verschelde
Fix multiple issues with region editor
2022-11-01Add `ShapeCast2D/3D::get_collider_rid` methodkleonc
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET