Rémi Verschelde
32aea7b40f
Merge pull request #47277 from nekomatata/kinematic-safe-margin-doc
...
More detailed documentation for KinematicBody safe collision margin
2021-03-23 00:08:35 +01:00
PouleyKetchoupp
4aa25b0f6c
More detailed documentation for KinematicBody safe collision margin
2021-03-22 15:41:21 -07:00
Hugo Locurcio
6c9259ff2f
Fix feature tag casing in the Windows pen tablet project setting name
...
Feature tags are case-sensitive.
2021-03-22 14:18:48 +01:00
Yuri Sizov
9df05745ba
Add utility methods to Theme, improve error messages and documentation
2021-03-22 14:49:31 +03:00
Hugo Locurcio
6648dc58d3
Make the expected method calling order in SurfaceTool more explicit
2021-03-21 21:36:50 +01:00
Marcel Admiraal
755c70b871
Rename Array.invert() to Array.reverse()
...
Does the same internally for List and Vector<>, which includes all
PackedArray types.
2021-03-21 10:20:08 +00: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
Marcel Admiraal
07f1cd5ff8
Rename PHashTranslation to OptimizedTranslation
2021-03-20 10:02:47 +00:00
skyace65
6a61b9f6e8
Document more NavigationMesh properties
2021-03-19 22:04:34 -04: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
Rémi Verschelde
75d03f1fbd
Merge pull request #46446 from Faless/js/4.x_jsdoc
...
[HTML5] Document Engine and EngineConfig (jsdoc).
2021-02-26 15:31:44 +01:00
Fabio Alessandrelli
472482013e
[HTML5] Add jsdoc2rst tool.
...
A template for `jsdoc` that generat the HTML5 public classref.
The script can be run via `npm run docs` to print to stdout.
You can dry run via `npm run docs -- --d dry-run` or write to file via
`npm run docs -- -d /path/to/file.rst`
Also update Makefile in `doc/` and add dry run test to CI.
2021-02-26 11:33:59 +01:00
Haoyu Qiu
31243e377f
Fixes typo in Array::bsearch_custom doc
2021-02-26 18:01:08 +08:00
Emmanuel Leblond
60d2c1fd47
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead
2021-02-25 18:34:50 +01:00
Rémi Verschelde
f01e95eb55
Merge pull request #46416 from nekomatata/draw-collision-outline-option
...
Added option in project settings to draw Shape2D outlines
2021-02-25 17:15:22 +01:00
PouleyKetchoupp
c4b116cff7
Added option in project settings to draw Shape2D outlines
...
Disabling collision outlines can be useful for performance when the game
is running and many collision shapes are displayed.
2021-02-25 07:52:50 -07:00
Hugo Locurcio
355803db1b
Improve the OS.get_environment()
/OS.set_environment()
documentation
2021-02-25 15:38:51 +01:00
Bastiaan Olij
4c8f5b998f
Expose set_environment to GDScript
2021-02-25 23:36:14 +11:00
Rémi Verschelde
305683f83b
Merge pull request #46360 from nmrkr/drag-preview-crash-after-free
...
Fix crash during drag if user queue_free'd the drag preview
2021-02-24 22:43:53 +01:00
Delf Neumärker
eaa04c1a22
Fix crash during drag if user freed the drag preview
2021-02-24 20:59:17 +01:00
abaire
61cc1c8624
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-02-24 08:22:27 -08:00
Rémi Verschelde
a527c6856b
Merge pull request #46045 from bruvzg/text_server_bmp_create
...
[TextServer] Restores bitmap font dynamic construction functions.
2021-02-24 12:55:36 +01:00
Aaron Franke
548de64742
Use a more specific type for Area2D/3D body signals
2021-02-24 00:05:54 -05:00
Rémi Verschelde
cb29e6c49c
Merge pull request #45994 from Jummit/expose-edit-selected
...
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
Jummit
13fb24cb6f
expose edit_selected in Tree
2021-02-22 15:50:21 +01:00
Rémi Verschelde
8107cbd66e
Merge pull request #45934 from angad-k/fix-smoothstep-function-documentation
...
fix minor issue in smooth step function's documentation
2021-02-22 12:38:47 +01:00
Rémi Verschelde
40191a748b
Merge pull request #46253 from asmaloney/docs-theme
...
[docs] Clarification on theme's get_stylebox
2021-02-22 10:35:35 +01:00
Hugo Locurcio
159581739a
Document theming a SpinBox's background
...
This closes #46248 .
2021-02-21 19:32:11 +01:00
Yuri Roubinsky
fe3051fcce
Added Comment node to Visual Shaders
2021-02-21 12:40:17 +03:00
Hugo Locurcio
f6087d3f2b
Document that Button doesn't interpret touch input (= no multitouch)
...
TouchScreenButton should be used for gameplay actions instead.
2021-02-21 00:30:21 +01:00
Andy Maloney
d397c32169
[docs] Clarification on theme's get_stylebox
...
Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid.
2021-02-20 10:10:28 -05:00
Aaron Franke
78de8a762b
Update documentation for the new ProcessMode
2021-02-19 10:22:09 -05:00
Rémi Verschelde
efddb8a0cb
Merge pull request #46194 from Calinou/os-delay-no-negative
...
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
2021-02-19 15:14:36 +01:00
Rémi Verschelde
bc395c2549
Merge pull request #46221 from akien-mga/doc-sync-classref
...
doc: Sync classref with current source
2021-02-19 15:06:50 +01:00
Rémi Verschelde
0d1d719178
doc: Sync classref with current source
...
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00
Rémi Verschelde
aaaaaf5bb6
Merge pull request #46219 from pycbouh/doc-editor-plugin-build
...
Add documentation for EditorPlugin's build method
2021-02-19 13:59:00 +01:00
Rémi Verschelde
b84f65f13c
Merge pull request #44737 from KoBeWi/touch_shape_screen_centered_button
...
Fix shape_centered property in TouchScreenButton
2021-02-19 13:45:23 +01:00
Yuri Sizov
724ed88215
Add documentation for EditorPlugin's build method
2021-02-19 15:42:41 +03:00
Hugo Locurcio
76f1f9b3c5
Don't allow negative values for OS.delay_usec()
/OS.delay_msec()
...
This closes #46190 .
2021-02-18 23:01:45 +01:00
bruvzg
3e0262509f
Move tablet driver API from OS to DisplayServer.
2021-02-18 17:12:24 +02:00
Jitesh
c3be0c2c04
Add animation_finished signal and fix frame_changed signal for AnimatedSprite3D
...
Fixes #40301 .
Fixes #45947 .
2021-02-17 15:13:47 +01:00
JestemStefan
2c71ff1119
Added signed_angle_to for Vector3
2021-02-16 05:07:33 -05:00
PouleyKetchoupp
4586357dde
Expose RichTextLabel selection to script
...
Expose existing get_selection_text and add methods to get the current
selection index from and index to.
2021-02-15 17:26:58 -07:00
Rémi Verschelde
9335f4de70
Merge pull request #45991 from goostengine/makerst-filter
...
makerst: Add an option to filter which XML classes to output
2021-02-15 13:46:24 +01:00
Andrii Doroshenko (Xrayez)
7fcdd15f0c
makerst: Add an option to filter which XML classes to output
...
Usage:
```
# Output `VisualScript` classes only (found in `modules/visual_script`)
python doc/tools/makerst.py "doc/classes" "modules" --filter "visual_script"
# Output CSG classes only (found in `modules/csg`)
python doc/tools/makerst.py "doc/classes" "modules" --filter "csg"
```
2021-02-15 14:28:11 +02:00
Rémi Verschelde
e13312db79
Merge pull request #46028 from Beuc/patch-passby
...
doc: explain TouchScreenButton passby mode
2021-02-15 12:54:25 +01:00
Sylvain Beucler
9e21077fad
doc: explain TouchScreenButton passby mode
2021-02-15 11:45:58 +01:00
Rémi Verschelde
3f6295a1ed
Merge pull request #45855 from hoontee/fix-45718
...
Implement CollisionPolygon3D margin
2021-02-15 11:23:15 +01:00
bruvzg
bee718f1af
[Text Server] Restores bitmap font dynamic construction functions.
2021-02-15 10:46:49 +02:00
bruvzg
f4d095cdd3
[TextServer] Restore character and space extra spacing support.
2021-02-15 10:46:23 +02:00
bruvzg
d78336c65e
[CTL] Add missing font outline drawing routines and theme constants.
2021-02-14 14:11:44 +02:00
Hugo Locurcio
ab397460e9
Expose a File.flush()
method to scripting
...
This can be used to ensure a file has its contents saved
even if the project crashes or is killed by the user
(among other use cases).
See discussion in #29075 .
2021-02-13 01:37:16 +01:00
Angad Kambli
892060fa47
fix minor issue in smooth step function's documentation
2021-02-13 02:12:58 +05:30