Commit Graph

37971 Commits

Author SHA1 Message Date
PouleyKetchoupp
eec3f3ec12 Fix motion direction in slope for CharacterBody3D
- More accurate sliding in slopes to keep input direction correct
- More accurate constant speed calculation
- Renamed linear_velocity to motion_velocity for clarity
- General code cleaning and simplifications
2021-09-30 07:47:07 -07:00
Camille Mohr-Daurat
f72419d152
Merge pull request #53179 from fabriceci/stop-on-slope-on-by-default
Set stop on slope on by default on CharacterBody
2021-09-28 15:14:32 -07:00
fabriceci
dd5f01e83e Set stop on slope on by default on CharacterBody. 2021-09-28 22:31:46 +02:00
Camille Mohr-Daurat
c38ef94951
Merge pull request #53174 from fabriceci/apply-delta-move-and-collide
Physic API change: apply the delta in move and collide like move and slide
2021-09-28 11:32:09 -07:00
Rémi Verschelde
9556c3a30a
Merge pull request #53180 from boruok/4.0-fix-atlas-texture-return-null 2021-09-28 18:52:53 +02:00
Rémi Verschelde
0a3aa85a7b
Merge pull request #53177 from fabriceci/sync-to-physics-true-animatable-body 2021-09-28 18:15:56 +02:00
Rémi Verschelde
06b9ea1921
Merge pull request #41855 from Razoric480/key_up_down_spin_slider 2021-09-28 17:33:49 +02:00
boruok
2cc2adedaa 4.0 fix atlas texture return null 2021-09-28 23:54:47 +09:00
Rémi Verschelde
96766516ec
Merge pull request #53166 from JFonS/force_embree_opt 2021-09-28 16:32:13 +02:00
Rémi Verschelde
483b8a598e
Merge pull request #53173 from jmb462/fix-tree-column-title-min-size 2021-09-28 16:21:45 +02:00
Francois Belair
3e18cc24a4 Add up/down keys to inc/dec val in spin slider
Fixes #godotengine/godot-proposals#29
2021-09-28 10:21:19 -04:00
Rémi Verschelde
4296539d94
Merge pull request #53072 from CaptainProton42/fix-gpuparticles3d-generate-aabb 2021-09-28 16:20:22 +02:00
fabriceci
32bf7c419c Sync to physics true by default for AnimatableBody 2021-09-28 16:11:17 +02:00
jmb462
7fabbe2760 Fix tree title column size minimum width 2021-09-28 14:54:48 +02:00
fabriceci
60fee25c44 Apply delta in move and collide 2021-09-28 14:53:24 +02:00
Rémi Verschelde
5aa099aaed
Merge pull request #53154 from drcd1/fix-sphere-normals 2021-09-28 14:51:25 +02:00
jfons
b197fc2079 Force optimized builds for thirdparty Embree files 2021-09-28 14:35:21 +02:00
Fabio Alessandrelli
d18cbdf5e4
Merge pull request #52481 from Faless/net/4.x_native_peers
[Net] Extension system for network peers, webrtc.
2021-09-28 12:57:45 +02:00
Rémi Verschelde
97f0500678
Merge pull request #53165 from fabriceci/autocompletion-shortcut-mac 2021-09-28 12:44:56 +02:00
Bastiaan Olij
0320532876
Merge pull request #52864 from BastiaanOlij/xr_extension_return_buffers
Fix access to render target texture for XR interfaces
2021-09-28 20:19:20 +10:00
Rémi Verschelde
46607ec08e
Merge pull request #53064 from YeldhamDev/template_manager_mirror_icon 2021-09-28 12:14:13 +02:00
Rémi Verschelde
cd570539ee
Merge pull request #53040 from pycbouh/docs-color-picker-and-button 2021-09-28 12:13:54 +02:00
Rémi Verschelde
60988a06c2
Merge pull request #52953 from nekomatata/fix-collision-recovery-depth 2021-09-28 12:11:38 +02:00
Bastiaan Olij
cbdde9dff9 Fix access to render target texture for XR interfaces 2021-09-28 19:46:50 +10:00
fabriceci
e4cfcfc424 Replace auto completion shortcut for mac 2021-09-28 11:25:11 +02:00
Rémi Verschelde
ed5267f69f
Merge pull request #53053 from LATRio/callable_in_thread_start 2021-09-28 11:10:09 +02:00
Rémi Verschelde
c89c2878ef
Merge pull request #53001 from floppyhammer/fix-tree-item-width 2021-09-28 10:53:56 +02:00
Rémi Verschelde
a56e8f8afc
Merge pull request #53160 from BastiaanOlij/improve_xr_server_cleanup 2021-09-28 08:44:54 +02:00
Rémi Verschelde
8879efc214
Merge pull request #52512 from jitspoe/master.csg_fixes_simplification 2021-09-28 08:39:31 +02:00
Rémi Verschelde
4735a0359c
Merge pull request #53153 from Duroxxigar/fix-bone-attachment-typo 2021-09-28 07:41:36 +02:00
Bastiaan Olij
0623d3676b Improve unregistering XR interfaces so we don't get crashes in GDExtensions by destroying the XRServer too early 2021-09-28 12:25:15 +10:00
jitspoe
1da948a688 CSGPolygon fixes and features: Angle simplification, UV tiling distance, interval type. 2021-09-27 21:24:19 -04:00
Duarte David
7d53755ca7 Fixes the normals of SphereMesh when the radius is different from 1 2021-09-28 00:09:39 +01:00
Duroxxigar
3bcf03c40f Fixed typo in bone attachment warning 2021-09-27 18:53:56 -04:00
PouleyKetchoupp
bf523a2b2a Improved logic for CharacterBody collision recovery depth
Allows 2D character controller to work without applying gravity when
touching the ground (also more safely in 3D), and collision detection
is more flexible with different safe margin values.

Character body motion changes in 2D and 3D:
-Recovery only for depth > min contact depth to help with collision
detection consistency (rest info could be lost if recovery was too much)
-Adaptive min contact depth (based on margin) instead of space parameter

Extra CharacterBody changes:
-2D: apply changes made in 3D for stop on slope and floor snap that help
fixing some jittering cases
-3D: fix minor inconsistencies in stop on slope and floor snap logic
2021-09-27 15:31:41 -07:00
Rémi Verschelde
8abd46096a
Merge pull request #53148 from Shatur/fix-register-singleton
Fix inversed check inside register_singleton
2021-09-27 23:49:36 +02:00
Rémi Verschelde
541701fdfb
Merge pull request #53146 from naeu/fix_folder_icon
Set directory dialog folder icon color
2021-09-27 23:47:08 +02:00
Rémi Verschelde
5503059f3b
Merge pull request #53145 from bruvzg/fix_trim_width_reset
Fix trim overrun width not being reset.
2021-09-27 23:46:19 +02:00
Hennadii Chernyshchyk
dbb37e586b
Fix inversed check inside register_singleton 2021-09-28 00:17:31 +03:00
bruvzg
11a49c2f29 Fix trim overrun width not being reset. 2021-09-27 21:51:18 +03:00
naeu
e2b58ef4dc Set dialog folder icon color 2021-09-27 19:33:15 +01:00
Rémi Verschelde
30cf49e8d0
Merge pull request #53134 from briansemrau/quadmesh-has-no-indices 2021-09-27 20:26:23 +02:00
Rémi Verschelde
321419df99
Merge pull request #53141 from RandomShaper/fix_cast_freed_check 2021-09-27 20:25:37 +02:00
Pedro J. Estébanez
0fa574c051 Fix check for freed object during cast 2021-09-27 19:35:26 +02:00
Brian Semrau
62f8b0eb91 QuadMesh remove format ARRAY_FORMAT_INDEX 2021-09-27 13:10:34 -04:00
Camille Mohr-Daurat
27417c065d
Merge pull request #53118 from BimDav/physicsbody_to_kinematic
Reload kinematic shapes when changing PhysicsBody mode to Kinematic
2021-09-27 08:53:36 -07:00
Rémi Verschelde
281d0bd59e
Merge pull request #53109 from aaronfranke/fix-gltf-light 2021-09-27 16:18:35 +02:00
Rémi Verschelde
41228343fe
Merge pull request #53127 from timothyqiu/index-mod 2021-09-27 15:13:17 +02:00
Haoyu Qiu
ab280de765 Validate before passing indices to meshoptimizer 2021-09-27 20:35:56 +08:00
Rémi Verschelde
8d2deddc72
Merge pull request #53124 from RandomShaper/fix_inverted_error 2021-09-27 14:34:18 +02:00