PouleyKetchoupp
d9720d4395
Fix CharacterBody motion with RayShape
...
Make separation ray shapes work properly in move_and_slide, wihtout the
specific code in CharacterBody like before.
Now most of the logic is handled inside the physics server. The only
thing that's needed is to use ray shapes only for recovery and ignore
them when performing the motion itself (unless we're snapping or slips
on slope is on).
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
829fb4fba1
Fix RayShape collision detection
...
One-way collision is disabled for both rigid bodies and character
bodies.
Kinematic margin is now applied to ray shapes to help getting consistent
results in slopes and flat surfaces.
Convex shapes don't return inverted normals when a segment test starts
inside (raycasting will be made consistent in a separate patch).
Ray shapes also discard contacts when fully contained inside a shape
and when the contact direction is inverted, so the behavior is
consistent with all shape types. Now they always separate only when
intersecting the top of a shape (for downward rays).
2021-08-24 16:03:05 -07:00
PouleyKetchoupp
45c7af9862
Restore RayShape as a regular shape type
...
Partial revert from previously removing ray shapes completely, added
back as a shape type but without the specific character controller code.
2021-08-24 16:03:05 -07:00
Camille Mohr-Daurat
c89a5fb8be
Merge pull request #51904 from nekomatata/move-and-slide-fixes-3d
...
Port recent move_and_slide fixes to 3D
2021-08-24 16:01:12 -07:00
PouleyKetchoupp
bae06008c8
Port recent move_and_slide fixes to 3D
...
Improves stop on slopes, sliding on walls and gravity handling by
porting existing changes from CharacterBody2D to CharacterBody3D.
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-08-24 11:30:01 -07:00
Max Hilbrunner
ca7f53dd25
Merge pull request #52001 from floppyhammer/fix-window-decor-size-on-windows
...
Fix window decoration size on Windows
2021-08-24 17:28:47 +02:00
Max Hilbrunner
7e0f1fa2ec
Merge pull request #52041 from Rubonnek/expose-simplify-path
...
Expose `String.simplify_path`
2021-08-24 17:06:16 +02:00
Michael Alexsander
9500950af6
Merge pull request #52067 from timothyqiu/rtl-cursor
...
Make `RichTextLabel` honour default cursor shape property
2021-08-24 14:45:55 +00:00
Max Hilbrunner
8a2730cac3
Merge pull request #52044 from Rubonnek/update-string-abs-rel-docs
...
Update documentation for is_absolute_path and is_rel_path
2021-08-24 16:24:18 +02:00
Juan Linietsky
61141793ca
Merge pull request #51999 from lyuma/set_surface_material
...
Implement methods in EditorSceneImporterMesh, and add documentation.
2021-08-24 11:17:48 -03:00
Haoyu Qiu
d12cceadd2
Make RichTextLabel honour default cursor shape property
2021-08-24 22:07:42 +08:00
Juan Linietsky
6609ce1944
Merge pull request #52000 from lyuma/set_editable_instance
...
Make Node editable_instance methods available to GDScript
2021-08-24 08:31:34 -03:00
Wilson E. Alvarez
17821603b4
Expose String.simplify_path
2021-08-24 00:48:45 -04:00
Lyuma
7eb6ae2798
Make Node editable_instance methods available to GDScript
2021-08-23 21:45:18 -07:00
Ignacio Roldán Etcheverry
e95fa21b45
Merge pull request #47295 from omegachysis/script-bind-mutex
...
Fix race condition on `script_binding` in C#
2021-08-24 06:09:43 +02:00
Juan Linietsky
13bd020a23
Merge pull request #52045 from reduz/expose-rid-creation-utilities
...
Expose RID creation utilities.
2021-08-23 22:30:43 -03:00
reduz
65ca132a80
Expose RID creation utilities.
...
* Exposed as utility functions.
* Not very useful for script, but vital for creating servers using native extensions.
2021-08-23 21:55:45 -03:00
Wilson E. Alvarez
69caa1ab4c
Update documentation for is_absolute_path and is_rel_path
2021-08-23 19:55:06 -04:00
Camille Mohr-Daurat
770a1d00a3
Merge pull request #51751 from jeffrey-cochran/windforce
...
Created an area-specific wind force that interacts with soft bodies
2021-08-23 16:48:19 -07:00
Juan Linietsky
aa3c3a9ebb
Merge pull request #52036 from reduz/native-extension-argument-pointers
...
Implement NativeExtension pointer arguments
2021-08-23 20:36:48 -03:00
reduz
44d62a9f4b
Implement NativeExtension pointer arguments
...
* Allows calling into native extensions directly with a pointer
* Makes it easier to implement some APIs more efficiently
* Appears with a "*" in the documentation for the argument.
* Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint.
* AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
2021-08-23 19:58:40 -03:00
Jeffrey Cochran
e806397196
Enabled area-specific wind forces
2021-08-23 17:00:50 -04:00
Max Hilbrunner
0df9895eb7
Merge pull request #51791 from mhilbrunner/better-error-names
...
Improve error descriptions
2021-08-23 20:13:32 +02:00
Max Hilbrunner
b86a1cc248
Merge pull request #37253 from KoBeWi/animass
...
Allow to load multiple animations at once
2021-08-23 20:03:23 +02:00
Hugo Locurcio
679b9be9d3
Merge pull request #52021 from Calinou/rename-polygon-editor-settings
...
Rename polygon editor settings for better display in the Editor Settings
2021-08-23 19:25:24 +02:00
Hugo Locurcio
40937ffa6d
Merge pull request #52019 from Calinou/doc-enetconnection-compression-mode
...
Document ENetConnection compression must match between client and server
2021-08-23 18:58:33 +02:00
Hugo Locurcio
0af213a4e0
Merge pull request #51259 from nekomatata/fix-tilemap-one-way-collision
...
Fix one-way collision in Tilemap
2021-08-23 18:54:01 +02:00
Hugo Locurcio
19a735913e
Merge pull request #51998 from SirQuartz/Schrödinger's-search-box
...
Fix quick open script results
2021-08-23 18:51:57 +02:00
Hugo Locurcio
c162c87535
Merge pull request #52022 from KoBeWi/syntax_fixlighter
...
Restore syntax highlighting
2021-08-23 18:47:41 +02:00
kobewi
7939ad5b8c
Restore syntax highlighting
2021-08-23 18:08:17 +02:00
Hugo Locurcio
cbe6c25c6b
Rename polygon editor settings for better display in the Editor Settings
2021-08-23 17:59:19 +02:00
Max Hilbrunner
6dae9f5c36
Improve error descriptions
2021-08-23 17:58:24 +02:00
Tomasz Chabora
b1db36e65d
Allow to load multiple animations at once
2021-08-23 17:24:02 +02:00
Hugo Locurcio
fc67e2e16d
Document ENetConnection compression must match between client and server
2021-08-23 17:08:41 +02:00
Max Hilbrunner
583b6a594a
Merge pull request #51971 from aaronfranke/https
...
Replace HTTP URLs with HTTPS for sites with HTTPS versions
2021-08-23 15:58:54 +02:00
Michael Alexsander
88db541705
Merge pull request #51947 from AnilBK/redundant-assignments
...
[cppcheck] Remove some redundant assignments.
2021-08-23 13:23:45 +00:00
Max Hilbrunner
ae306665d3
Merge pull request #51750 from jmb462/inputmap_action_suggestions
...
Adding InputMap action error suggestions for Input singleton (Fix #51634 )
2021-08-23 15:19:20 +02:00
lawnjelly
d354adc5d0
Merge pull request #51803 from LoipesMas/master
...
Add note about batching to Line2D's anti-aliasing
2021-08-23 13:48:42 +01:00
Juan Linietsky
a0ef77eaee
Merge pull request #51983 from reduz/remove-bind-vmethod
...
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
2021-08-23 09:46:19 -03:00
LoipesMas
b047430702
Add note about batching to Line2D's anti-aliasing
2021-08-23 13:14:36 +02:00
reduz
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
floppyhammer
1a5d72bf16
Fix window decoration size on Windows
2021-08-23 10:43:34 +08:00
Lyuma
e6962729d5
Implement set_surface_material and set_surface_name methods in EditorSceneImporterMesh, and add documentation.
2021-08-22 19:42:35 -07:00
Bastiaan Olij
2d446771d6
Merge pull request #51980 from BastiaanOlij/fix_multiview_tonemap
...
Fix multiview defines in tonemap shader
2021-08-23 12:02:18 +10:00
Aaron Franke
ae1702bee5
Replace HTTP links with HTTPS for sites with HTTPS versions
2021-08-22 20:13:11 -05:00
K. S. Ernest (iFire) Lee
bb1c930a41
Merge pull request #51991 from requizm/fix/51990
...
Fix 3d animations doesn't play
2021-08-22 17:12:08 -07:00
Michael Alexsander
b4cea10771
Merge pull request #49756 from Calinou/android-export-move-clear-previous-install-setting
...
Move the Android "clear previous install" setting to Editor Settings
2021-08-22 23:30:13 +00:00
Nicholas Huelin
c08407ed60
Fix quick open script top result
...
This pull request fixes an issue where the top search result of the quick open script wouldn't be the most relevant when the first letter is typed.
2021-08-22 19:28:49 -04:00
K. S. Ernest (iFire) Lee
7560ba8aa1
Merge pull request #38210 from benjarmstrong/wasapi-audio-output-latency
...
Add support for variable output latency in WASAPI audio driver
2021-08-22 15:35:36 -07:00
K. S. Ernest (iFire) Lee
fe1d551543
Merge pull request #51989 from drcd1/non-uniform-scale-fix
...
Fixes non-uniform scaling of normals
2021-08-22 14:49:10 -07:00