PouleyKetchoupp
82ea2a7045
Proper support for custom mass properties in 2D/3D physics bodies
...
Changes:
-Added support for custom inertia and center of mass in 3D
-Added support for custom center of mass in 2D
-Calculated center of mass from shapes in 2D (same as in 3D)
-Fixed mass properties calculation with disabled shapes in 2D/3D
-Removed first_integration which is not used in 2D and doesn't seem to
make a lot of sense (prevents omit_force_integration to work during the
first frame)
-Support for custom inertia on different axes for RigidBody3D
2021-09-06 10:20:16 -07:00
Camille Mohr-Daurat
e1ae2708ee
Merge pull request #52271 from nekomatata/query-layer-default-mask
...
Harmonize default value for collision mask in ray/shape queries
2021-09-06 09:33:18 -07:00
Camille Mohr-Daurat
a93fb2655a
Merge pull request #52286 from nekomatata/restore-kinematic-body
...
Add AnimatableBody inherited from StaticBody for moving platforms
2021-09-06 09:32:46 -07:00
Gilles Roudière
1f97d57384
Merge pull request #35859 from Calinou/minimap-add-hover-pressed-feedback
...
Add visual feedback when hovering or dragging the code minimap grabber
2021-09-06 16:22:36 +02:00
Kirill Diduk
92fa2bac23
Explicitly convert signed to unsigned value
2021-09-06 15:40:41 +02:00
daniel-mcclintock
8a8c172b93
Fix crash during completion lookback
2021-09-06 23:10:06 +10:00
Gilles Roudière
b0b30aaf41
Merge pull request #52435 from groud/fix_crash_in_tilemap_physics
...
Fix crash in TileMap physics
2021-09-06 15:09:28 +02:00
Gilles Roudière
d9b07faad2
Merge pull request #30623 from Awkor/disable-container-child-editing
...
Prevent editing properties managed by parent container
2021-09-06 13:40:56 +02:00
Gilles Roudière
a4cd553f42
Fix crash in TileMap physics
2021-09-06 13:11:41 +02:00
lawnjelly
e5c6c773e9
Merge pull request #35617 from zmanuel/negative-delta-fix
...
Fix negative delta arguments
2021-09-06 10:33:49 +01:00
Awkor
3aa2a7fc18
Prevent editing properties managed by parent container
2021-09-05 23:23:53 +02:00
Johannes Witt
48a8a59ad7
Specify description of Array.slices end parameter
2021-09-05 21:49:57 +02:00
Gilles Roudière
c6f6c05a52
Merge pull request #51722 from TokageItLab/implement-set-read-only-in-extended-class
...
Apply `set_read_only()` to child classes of `EditorProperty` elements
2021-09-05 18:58:02 +02:00
jmb462
752e2bcee0
Fix comment causes content of folded methods to not hide
2021-09-05 12:30:27 +02:00
Silc 'Tokage' Renew
facf8f1883
Apply set_read_only() to child classes of EditorProperty elements
2021-09-05 18:22:17 +09:00
Daniel Doran
3264ba296e
fix invalid string cast
2021-09-04 21:38:07 -06:00
Bastiaan Olij
f3ab094133
Merge pull request #52309 from BastiaanOlij/add_extension_index_functions
...
Add functions for access members by index on packed array objects
2021-09-05 11:52:43 +10:00
Bastiaan Olij
32ddcaf15e
Add missing parameter names to _commit_views GDVIRTUAL_BIND
2021-09-05 11:51:13 +10:00
Max Hilbrunner
0bdbce672c
Merge pull request #52341 from Calinou/scons-fix-missing-sconscript-warning
...
Fix missing SConscript warning when building using SCons
2021-09-04 11:51:47 +02:00
Hennadii Chernyshchyk
2b78353e79
Remove extra get_script_instance check
...
Otherwise, `_ready()` will not be called on classes
that define this function and doesn't have a script attached.
2021-09-04 12:14:54 +03:00
Hugo Locurcio
c8949f21e7
Add visual feedback when hovering or dragging the code minimap grabber
...
This makes it more obvious that the minimap grabber can be dragged
to scroll.
2021-09-04 02:25:22 +02:00
Ignacio Roldán Etcheverry
18c0f0b3ba
Merge pull request #51079 from raulsntos/csharp-docs
...
Add documentation to GodotSharp, Fix PackedInt64Array typo
2021-09-03 22:39:25 +02:00
Raul Santos
48c66b80ad
Add documentation to GodotSharp
...
- Adds documentation to almost every class and member in `GodotSharp`
- Fixes some old documentation to more closely follow the XML comments convention
2021-09-03 19:03:31 +02:00
Raul Santos
415529400b
Fix constant tag documentation in C# bindings generator
2021-09-03 18:54:40 +02:00
Raul Santos
5508d4606b
Fix PackedInt64Array typo in bindings_generator.h
2021-09-03 18:54:40 +02:00
Ignacio Roldán Etcheverry
ade4e9320a
Merge pull request #50872 from aaronfranke/cs-format-mini-2
...
Some more C# formatting and style fixes
2021-09-03 18:44:36 +02:00
Hugo Locurcio
c3591a9b04
Merge pull request #52368 from arthurpaulino/remove-http-request-data-note
...
Inaccurate HTTPRequest documentation node
2021-09-03 16:42:29 +02:00
Arthur Paulino
1ed3d9a0b0
improving note on HTTPRequest class under the request method documentation
2021-09-03 11:10:33 -03:00
Hugo Locurcio
2cece71b69
Merge pull request #52374 from danielkariv/fix-macos-fullscreen
2021-09-03 14:48:34 +02:00
Hugo Locurcio
b658b275b1
Merge pull request #52357 from JestemStefan/Window_wrong_parameter_type
...
Fixed property info by changing Window current_screen parameter from string to int
2021-09-03 14:42:37 +02:00
Daniel Kariv
52b114bc78
fix fullscreen issue on macOS
...
adds a call for resize event.
2021-09-03 14:35:28 +03:00
Fabio Alessandrelli
d20031ccae
Merge pull request #52342 from Faless/enet/4.x_no_close_error
...
[Net] Silence ENetMultiplayerPeer close_connection.
2021-09-03 10:20:26 +02:00
Max Hilbrunner
8c82e305ba
Merge pull request #52329 from ZuBsPaCe/gdscript-unused-private-class-variable-fix
...
GDScript: Fix for UNUSED_PRIVATE_CLASS_VARIABLE
2021-09-03 10:04:11 +02:00
ZuBsPaCe
c76ad6b158
GDScript: Count usages of member variables.
...
Otherwise private member variables will always lead to UNUSED_PRIVATE_CLASS_VARIABLE.
2021-09-03 07:44:46 +02:00
Fabio Alessandrelli
c39d31899a
Merge pull request #52354 from V-Sekai/single_packed_array_spawn_fix
...
Fix sending zero-length spawn variant
2021-09-03 02:55:34 +02:00
William Deurwaarder
b92347c220
Fix incorrectly removing two characters by auto brace
...
In some situations when there were no braces auto brace still removed two
characters. This has been fixed by adding a test that a brace is found.
2021-09-03 00:33:50 +02:00
JestemStefan
177173578a
Changed Window current_screen parameter from string to int
2021-09-02 23:34:15 +02:00
SaracenOne
f09f12ce55
Fix _send_default_spawn_default function sending zero length
...
PackedByteArray when deriving from a single PackedByteArray
state variant.
2021-09-02 21:36:54 +01:00
Aaron Franke
1933df0013
Some more C# formatting
2021-09-02 15:12:15 -05:00
Hugo Locurcio
b73e7623c8
Merge pull request #33123 from Calinou/remote-inspector-capitalize-properties
...
Capitalize properties in the remote inspector
2021-09-02 19:44:53 +02:00
Fabio Alessandrelli
027fbc9a6c
[Net] Silence ENetMultiplayerPeer close_connection.
...
Used to print an error when it was not active, now it just returns
immediately as per the documentation.
2021-09-02 15:21:09 +02:00
Hugo Locurcio
828f9c6c29
Fix missing SConscript warning when building using SCons
2021-09-02 15:14:28 +02:00
George Marques
29a3300c6a
Merge pull request #52071 from V-Sekai/gdscript_name_conflict_check
...
Checks in analyzer and compiler for GDScript naming conflicts
2021-09-02 08:25:02 -03:00
Gilles Roudière
d4a84be4fb
Merge pull request #52331 from Geometror/tweak-tooltip-colors
...
Tweak tooltip style (slightly less dark/unified margins)
2021-09-02 12:22:46 +02:00
SaracenOne
84852585b9
Check for GDScript member and class naming conflicts in a variety of conditions.
2021-09-02 07:16:06 +01:00
Fredia Huya-Kouadio
ebac430445
Merge pull request #52159 from m4gr3d/addoculus_openxr_
...
Update the AndroidManifest to enable access to Oculus OpenXR runtime
2021-09-01 21:09:28 -07:00
Hendrik Brucker
43faebdf48
Tweak tooltip style
2021-09-02 02:41:09 +02:00
Bastiaan Olij
23f27fbffc
Add functions for access members by index on packed array objects
2021-09-02 09:41:35 +10:00
Fredia Huya-Kouadio
a160a95ea6
Merge pull request #52320 from nekomatata/android-plugin-view-order
...
Add support for adding plugin views behind the main view on Android
2021-09-01 11:54:46 -07:00
PouleyKetchoupp
0b681d5834
Add support for adding plugin views behind the main view on Android
...
Doesn't change the default behavior, but allows plugins to add their
view behind the main view, which gives more control over what happens
with inputs and can be useful along with transparent rendering.
2021-09-01 10:01:55 -07:00