Steve Szilágyi
285b816f1f
VehicleWheel can now return the surface it's colliding with.
...
Fixed PR issues.
Update vehicle_body_3d.cpp
Apply suggestions from code review
Co-authored-by: Camille Mohr-Daurat <pouleyKetchoup@gmail.com>
(cherry picked from commit 0c352407d8
)
2021-12-10 19:01:06 +01:00
Anilforextra
9351bc4b1c
Fixed awkwardly named AnimatedSprite Setters.
...
(cherry picked from commit 0c06ed98fb
)
2021-12-10 17:57:39 +01:00
Rémi Verschelde
fc7528b366
Merge pull request #55788 from RPicster/3.x-particles-random-start-color
2021-12-10 16:52:19 +01:00
Raffaele Picca
6dd593d579
Random initial color for all Particle Nodes
2021-12-10 16:35:25 +01:00
Rémi Verschelde
c6a9a384a0
Merge pull request #55783 from timothyqiu/broken-doc-link
...
[3.x] Fix broken links in Class Reference
2021-12-10 15:51:17 +01:00
Haoyu Qiu
b1153f8829
Fix broken links in Class Reference
2021-12-10 21:07:21 +08:00
Rémi Verschelde
eac0d90c39
Merge pull request #55560 from pycbouh/docs-overridden-cross-linked-3.x
...
[3.x] Make overridden properties link to parent definition
2021-12-10 12:42:09 +01:00
Rémi Verschelde
95f895f087
i18n: Remove deleted translations from PO files
...
Since we bundle the whole files in the editor binary, they actual impact the
binary size needlessly.
Automate it via `make merge`.
(cherry picked from commit 6fb47a271f
)
2021-12-10 11:52:45 +01:00
Rémi Verschelde
213f7cb719
i18n: Sync classref translations with Weblate
...
(cherry picked from commit f4b3c3ff09
)
2021-12-10 11:52:41 +01:00
Raul Santos
229489f7b7
Expose `ScriptEditor::edit` to scripting
...
Exposes a method in `EditorInterface` to open scripts on a specified
line and column. This method handles if the internal or the external
editor should be used.
(cherry picked from commit 9535831866
)
2021-12-09 12:05:14 +01:00
Hugo Locurcio
2fe15124de
Document that RigidBody angular velocity is in degrees per second
...
This will be changed to radians per second in Godot 4.0, but it can't
be changed in 3.x to preserve compatibility with existing projects.
2021-12-07 18:38:03 +01:00
Rémi Verschelde
643a9a3420
Merge pull request #55526 from pycbouh/docs-sort-group-newline-theme-and-enums-3.x
2021-12-07 12:14:48 +01:00
Rémi Verschelde
0845f20784
Merge pull request #55614 from Calinou/add-os-crash-method-3.x
2021-12-06 17:04:14 +01:00
Manolis Papadeas
3be071f8c6
Fix link to the supported image formats in the Image class
...
It previously linked to this page which doesn't exist. https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats
Now, it should link here: https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_images.html#supported-image-formats
(cherry picked from commit c01c4c687b
)
2021-12-06 16:52:00 +01:00
kobewi
9776241ce6
Bind column_titles_visible as property
...
(cherry picked from commit 7f6ab0006d
)
2021-12-06 16:52:00 +01:00
Aaron Franke
d75e580765
Warn when using an AABB or Rect2 with a negative size
...
(cherry picked from commit 9687f6fca3
)
2021-12-06 16:51:59 +01:00
Hugo Locurcio
796ea60d11
Document SceneTreeTimer being freed automatically when elapsed
...
The note was present in the SceneTree `create_timer()` class
documentation, but not in the SceneTreeTimer class documentation.
2021-12-05 18:39:10 +01:00
Hugo Locurcio
58296c7e21
Add an `OS.crash()` method for testing system crash handler
...
This makes it possible to test the system's crash handler without
having to modify engine code or exploit an engine bug.
2021-12-04 01:40:56 +01:00
Rémi Verschelde
ade0e700f1
Merge pull request #55591 from RPicster/3.x-particlemat-ring-axis-fix
...
Fix Ring-Axis parameter being always visible
2021-12-03 21:38:16 +01:00
Raffaele Picca
2f69caaff3
Fix Ring-Axis parameter being always visible
2021-12-03 21:16:32 +01:00
Yuri Sizov
1cf6d21f69
Make overridden properties link to parent definition
...
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03 17:48:49 +03:00
kobewi
ad5cb8ef5e
Improve store_string() description
...
(cherry picked from commit 09b1fc1956
)
2021-12-03 12:19:47 +01:00
Marcel Admiraal
e0729b9c79
Allow any kind of Mesh to be added to an EditorSpatialGizmo
2021-12-03 08:51:38 +00:00
Haoyu Qiu
144e3cd31f
Fix various misused code tag in classref
...
(cherry picked from commit 85c136bd07
)
2021-12-02 17:31:16 +01:00
Rémi Verschelde
6f1fcdee0d
Merge pull request #49662 from kleonc/transforms-xform_inv-docs
2021-12-02 12:54:44 +01:00
Yuri Sizov
ebd8101546
Sort and group theme properties in docs, improve formatting for theme and enums
2021-12-01 22:48:17 +03:00
Rémi Verschelde
6cf77f80b5
doc: Fixup Tabs reference after cherry-pick
2021-11-30 14:46:11 +01:00
zacryol
86190dd909
Clarify usage of TabContainer
...
Makes it more clear that TabBar is separate from TabContainer, and that the container draws the tabs itself.
(cherry picked from commit 5c645d510f
)
2021-11-30 10:58:37 +01:00
Aaron Franke
035a84fe92
[3.x] Add a Time singleton
2021-11-29 11:00:06 -06:00
zacryol
dd94440509
Fix description of Viewport `find_world_2d()` method.
...
The doc now states that the method searches for a World2D among ancestor Viewports as well, differentiating it from the get_world_2d() getter.
and also find_world_3d()
(cherry picked from commit 81c1d5197e
)
2021-11-29 16:13:19 +01:00
Rémi Verschelde
0bf78feb46
Merge pull request #55416 from pycbouh/textedit-position-from-linecol-3.x
2021-11-29 14:28:35 +01:00
Yuri Sizov
ba747e2a26
Add methods to get position from column and line in TextEdit
2021-11-29 00:06:16 +03:00
Aaron Franke
1d8cef8236
[3.x] Backport some APIs in math structs
2021-11-27 01:19:45 -06:00
kobewi
de365200bb
Clarify get_indexed in relation to Nodes
...
(cherry picked from commit 4ea6709558
)
2021-11-25 22:48:20 +01:00
Hugo Locurcio
f6725f8089
Document the engine's use of internal groups in Node
...
(cherry picked from commit f8d9e4afdb
)
2021-11-25 22:24:12 +01:00
kobewi
a7d950ab8e
Mention that replace_by doesn't free the node
...
(cherry picked from commit 58a3ea5453
)
2021-11-25 22:20:27 +01:00
bruvzg
2ef2879d7b
Add Input.is_physical_key_pressed method.
...
(cherry picked from commit 9877d91c4a
)
2021-11-25 22:19:33 +01:00
Rémi Verschelde
888f8cea9f
Merge pull request #52457 from kleonc/image-fill-rect-3x
2021-11-24 16:34:15 +01:00
Hugo Locurcio
e5593212e2
Add a project setting to disable the boot splash image
...
This allows disabling the boot splash image while keeping the
background color.
2021-11-23 19:06:54 +01:00
kleonc
4f446c8b9e
Add Image::fill_rect method
2021-11-23 17:59:08 +01:00
Camille Mohr-Daurat
3970f28f67
Merge pull request #55096 from lawnjelly/bvh_expanded_leaf
...
BVH - add option for expanded AABBs in leaves
2021-11-22 09:37:16 -07:00
Haoyu Qiu
eb6f74855f
Allow toggle TextEdit bookmark gutter
2021-11-21 21:34:30 +08:00
Brian Semrau
04846156c3
Expose Thread::get_main_id in core bindings
...
(cherry picked from commit c558263d84
)
2021-11-20 11:48:09 +01:00
lawnjelly
211dc8cd2d
BVH - add option for expanded AABBs in leaves
...
This PR adds a define BVH_EXPAND_LEAF_AABBS which is set, which stores expanded AABBs in the tree instead of exact AABBs.
This makes the logic less error prone when considering reciprocal collisions in the pairing, as all collision detect is now taking place between expanded AABB against expanded AABB, rather than expanded AABB against exact AABB.
The flip side of this is that the intersection tests will now be less exact when expanded margins are set.
All margins are now user customizable via project settings, and take account of collision pairing density to adjust the margin dynamically.
2021-11-20 06:45:12 +00:00
Rémi Verschelde
54490e9ebb
i18n: Sync classref translations with Weblate
...
(cherry picked from commit f737ed4da0
)
2021-11-19 09:54:45 +01:00
kobewi
70d25bbfbb
Mention how to add margins to Button's icon
...
(cherry picked from commit 2341c7bbd9
)
2021-11-17 15:56:23 +01:00
Rémi Verschelde
4103b0b7d8
Merge pull request #50823 from fbcosentino/3d-material-overlay
2021-11-16 08:21:18 +01:00
Fernando Cosentino
cc8846bef6
Added material_overlay property to MeshInstance
...
Applying overlay materials into multi-surface meshes currently
requires adding a next pass material to all the surfaces, which
might be cumbersome when the material is to be applied to a range
of different geometries. This also makes it not trivial to use
AnimationPlayer to control the material in case of visual effects.
The material_override property is not an option as it works
replacing the active material for the surfaces, not adding a new pass.
This commit adds the material_overlay property to GeometryInstance
(and therefore MeshInstance), having the same reach as
material_override (that is, all surfaces) but adding a new material
pass on top of the active materials, instead of replacing them.
Implemented in rasterizer of both GLES2 and GLES3.
2021-11-15 23:50:34 +00:00
Rémi Verschelde
ca61752a8c
Merge pull request #54982 from Calinou/doc-surfacetool-append-from-thread
2021-11-15 22:47:14 +01:00
Rémi Verschelde
89792e5c49
Merge pull request #54921 from lawnjelly/portals_roaming_margin
2021-11-15 22:45:46 +01:00