Commit graph

3621 commits

Author SHA1 Message Date
PouleyKetchoupp 4aa25b0f6c More detailed documentation for KinematicBody safe collision margin 2021-03-22 15:41:21 -07:00
Rémi Verschelde fa681d04b7
Merge pull request #46937 from nekomatata/soft-body-support
SoftBody support in GodotPhysics 3D
2021-03-20 21:45:20 +01:00
Rémi Verschelde 793000c6a9
Merge pull request #47139 from nekomatata/concave-backface-collision
Disable backface collision with ConcavePolygonShape by default
2021-03-20 21:43:57 +01:00
Rémi Verschelde 6608d99291
Merge pull request #47001 from madmiraal/rename-sprite_2d-region_enabled
Rename Sprite.region_enabled getter and setter methods to match properties
2021-03-20 18:36:17 +01:00
Paul Joannon 8455e901f3
class reference proofreading 2021-03-19 13:21:20 +01:00
PouleyKetchoupp 7bbd545432 Disable backface collision with ConcavePolygonShape by default
Helps a lot with soft bodies and generally useful to avoid shapes to go
through the ground in certain cases.

Added an option in ConcavePolygonShape to re-enable backface collision
on specific bodies if needed.
2021-03-18 11:30:22 -07:00
PouleyKetchoupp d5ea4acd2d SoftBody support in GodotPhysics 3D
- Fixed SoftBody surface update with new rendering system
- Added GodotPhysics implementation for SoftBody
- Added support to get SoftBody rid to interact with the physics server
- Added support to get SoftBody bounds from the physics server
- Removed support for unused get_vertex_position and get_point_offset
from the physics server
- Removed SoftBody properties that are unused in both Bullet and
GodotPhysics (angular and volume stiffness, pose matching)
- Added RenderingServerHandler interface to PhysicsServer3D so the physics servers don't need to reference the class from SoftBody node directly
2021-03-18 09:04:17 -07:00
Rémi Verschelde 4ca1e73ff9
doc: Sync classref with current source
And move GLTF docs to its module folder.
2021-03-18 16:37:43 +01:00
Rémi Verschelde c34b110784
Merge pull request #47098 from Birdulon/DocDrawString4
Documentation: Correct CanvasItem.draw_string position description.
2021-03-18 09:08:40 +01:00
Luke Hubmayer-Werner 886c942b40 Documentation: Correct CanvasItem.draw_string position description.
Also add height warnings to Font.get_char_size and Font.get_string_size
2021-03-18 18:09:23 +10:30
jmb462 b588232b83 Fix AudioEffectCapture buffer length cannot be changed 2021-03-17 23:07:38 +01:00
Rémi Verschelde 7b223e8eec
Merge pull request #47080 from mbrlabs/ios-sensor-conversion
Converted sensor acceleration units to m/s² on iOS and UWP
2021-03-17 14:27:23 +01:00
Marcus Brummer fda2743fef Converted sensor acceleration units to m/s^2 on iOS and UWP
This is beacuse on Android these values are already in m/s^2 while on
iOS and UWP they are in g. This just makes the behaviour consistent on
all platforms.
2021-03-17 14:05:05 +01:00
Rémi Verschelde 08ca4184f4
Merge pull request #47024 from groud/navigation
Allow Navigation to be more flexible
2021-03-17 09:18:54 +01:00
Marcus Brummer d1798b235c Document different unit of measurement for sensor data on iOS and Android 2021-03-16 23:06:40 +01:00
Rémi Verschelde a384fac953
Merge pull request #47014 from aaronfranke/atlastex-doc
Improve documentation for AtlasTexture
2021-03-15 21:12:34 +01:00
Hugo Locurcio d359e159da
Document the valid input range for acos() and atan() 2021-03-15 17:25:22 +01:00
Gilles Roudière ac7073f586 Allow Navigation to be more flexible 2021-03-15 15:58:59 +01:00
Aaron Franke 682286fec8
Improve documentation for AtlasTexture 2021-03-14 21:18:50 -04:00
Marcel Admiraal 3dcdb84660 Rename Sprite.region_enabled getter and setter to match properties
Also renames Sprite2D.region_filter_clip property and its setter to
region_filter_clip_enabled and set_region_filter_clip_enabled.
2021-03-14 17:31:49 +00:00
Aitor Cereceto 1e820b3d9d [46188] fix: get unix from datetime when empty dict 2021-03-12 09:27:21 +01:00
Gilles Roudière ba1344408f Implement Navigation layers 2021-03-10 11:23:06 +01:00
Gilles Roudière a9dc53d152 Remove Navigation2D/3D nodes, and move the navigation map to the world resource 2021-03-10 11:23:06 +01:00
Rémi Verschelde 469ac1e415 doc: Sync classref with current source 2021-03-10 10:54:21 +01:00
Rémi Verschelde 83b1acdc60
Merge pull request #45545 from abaire/relaxes_gltf_name_sanitization
Relaxes node name sanitization in gltf documents.
2021-03-09 14:54:33 +01:00
Rémi Verschelde 18bb36707f
Merge pull request #46110 from gongpha/colorbar-in-colorpicker
Add color interpolation bar on each channel in ColorPicker
2021-03-09 14:43:26 +01:00
Rémi Verschelde ab585be885
Merge pull request #46801 from Faless/js/4.x_allow_hidpi
[HTML5] Respect allow_hidpi option during setup
2021-03-09 10:56:05 +01:00
Rémi Verschelde cecc930e78
Merge pull request #46784 from Bhu1-V/doc-update
Documentation : Added Additional Description to PhysicsServer2D->area_create()
2021-03-09 09:58:26 +01:00
Kongfa Waroros d295d53b4a Add interpolation bar on each channel in ColorPicker 2021-03-09 14:58:19 +07:00
Bhuvan Vemula e3fed7bde8 Added Additional Description for PhysicsServer2D->area_create() method. 2021-03-09 09:03:10 +05:30
Fabio Alessandrelli f34c7982c5 [HTML5] Respect allow_hidpi option during setup
The option was forced to `true` before, unlike on other platforms.
2021-03-08 23:37:53 +01:00
Rémi Verschelde 85cb3c044d
Merge pull request #44324 from Calinou/doc-basematerial3d-height-no-triplanar
Document that BaseMaterial3D doesn't support height mapping + triplanar
2021-03-08 19:41:11 +01:00
Rémi Verschelde afd0df7921
Merge pull request #46386 from KoBeWi/projekt_settingz
Clarify ProjectSettings.save for exported projects
2021-03-07 10:17:59 +01:00
kobewi 156c402f2b Allow to save override.cfg with ProjectSettings 2021-03-07 01:21:44 +01:00
Rémi Verschelde aaeb07d50f
Merge pull request #43929 from HaSa1002/docs-lang-6
Docs: Port Code Examples to C# (R, S, T, U)
2021-03-05 22:36:05 +01:00
HaSa1002 bae843a1c9
Docs: Port Code Examples to C# (R, S, T, U)
* RenderingServer
 * RichTextEffect
 * SceneTree
 * SceneTreeTimer
 * ScriptCreateDialog
 * SpinBox
 * Sprite2D
 * StreamPeer
 * String
 * SurfaceTool
 * TextEdit
 * TileMap
 * Tree
 * Tween
 * UDPServer
 * UndoRedo

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-03-05 18:57:28 +01:00
Rémi Verschelde 4de0768cdb
Merge pull request #46663 from Calinou/doc-margincontainer-theme-constant
Use safer `add_theme_constant_override()` in MarginContainer code sample
2021-03-05 15:11:56 +01:00
Hugo Locurcio af513344ce
Use safer add_theme_constant_override() in MarginContainer code sample
Control has magic setters to set custom theme items, but using the
dedicated Control methods is less prone to typos so it should be favored.
2021-03-04 17:17:40 +01:00
jmb462 068300c7c9 Adding Raycast3D custom debug shape thickness and color 2021-03-04 11:17:26 +01:00
Hugo Locurcio a5b5ac47b8
Remove trivial examples in the ItemList class documentation
See https://github.com/godotengine/godot-docs/issues/4712.
2021-03-03 22:58:45 +01:00
Rémi Verschelde 5895cd4c4f
Merge pull request #36202 from YeldhamDev/sprite_region_hide
Hide extra options from various nodes if they're not enabled
2021-03-02 14:15:25 +01:00
Michael Alexsander 70304f8633 Hide extra options from various nodes if they're not enabled 2021-03-02 09:25:09 -03:00
kleonc 39a4ec50ea Fix examples in Callable docs 2021-03-02 02:34:53 +01:00
Rémi Verschelde bd42a6c51e
Merge pull request #42007 from HaSa1002/callable-docs
Document missing Callable methods
2021-03-01 13:20:07 +01:00
HaSa1002 54ff2da476
Document missing Callable methods
* Callable.hash()
 * Callable.is_custom()
 * Callable.is_null()
 * Callable.is_standard()
 * Callable.bind()
 * Callable.unbind()
 * Callable::operator==
 * Callable::operator!=

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-01 12:49:21 +01:00
Rémi Verschelde 5b58482b41
Merge pull request #46508 from rcorre/pathbake
Clarify Curve.get_closest_point uses baked points.
2021-03-01 09:37:16 +01:00
Rémi Verschelde a637cd8016
Merge pull request #46534 from asmaloney/doc-styleboxflat-grammar
Fix some grammar in StyleBoxFlat class docs
2021-03-01 09:35:22 +01:00
Andy Maloney 89e7e61773 Fix some grammar in StyleBoxFlat class docs 2021-02-28 20:09:10 -05:00
Mateo Kuruk Miccino 89283b7b53 Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts.
ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
2021-02-28 19:36:10 -03:00
Ryan Roden-Corrent ef5042a70f
Clarify Curve.get_closest_point uses baked points.
Based on the doc, I wasn't sure if get_closest_point would return the
closest baked point or the closest "source" point. It seems to use
baked:
8faecd6a47/scene/resources/curve.cpp (L809)
2021-02-28 07:18:34 -05:00