Commit Graph
156 Commits
Author SHA1 Message Date
melquiadess dbe3a88377 Fix various minor typos 2024-04-20 16:41:23 +01:00
Hugo Locurcio 8fdd378fa3 Update asset library demo URLs to point to Godot 4.x demos 2024-04-18 03:34:54 +02:00
Mudkipze 5114103e23 Update PhysicsServer2D naming for C# in ray-casting.rst
Current documentation refers to "Physics2DServer" exclusively in C# code snippet, when the actual name should be PhysicsServer2D.
2024-04-12 15:57:47 +00:00
A Thousand Ships bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
A Thousand Ships c6bf5d4c28 [Manual] Clarify use of delta with move_and_slide
Added details to clarify that while `velocity` should not be multiplied
by `delta`, `gravity` still should.
2024-03-06 12:34:29 +01:00
Hugo Locurcio 95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
Yuri Sizov cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Max Hilbrunner d1edd1cebb Merge pull request #8179 from golfinq/rigidbody-workaround-fix
Fixed code in article "Using RigidBody"
2023-10-24 16:29:09 +02:00
Matthew f29c9c4892 Merge pull request #8185 from jcovin293/master
Change KinematicBodies to CharacterBodies in collision_shapes_3d.rst and collision_shapes_2d.rst
2023-10-08 19:33:24 -04:00
jcovin293 21c11c6a03 Change KinematicBodies to CharacterBodies in collision_shapes_3d.rst and collision_shapes_2d.rst 2023-10-08 15:52:14 -05:00
Mark Wilson 147d2233c7 Improve C# GD.Load() examples
* Use typed version of GD.Load()
* Use absolute paths (i.e., prefixed with "res://")
* Use "Path/To/" intermediate path values on abstract examples, to
  illustrate that files can live in various directories
* Use PascalCase on files that are not GDScript or GLSL
2023-10-08 12:25:43 -04:00
golfinq 3bca95a6a5 Fixed code in article "Using RigidBody" 2023-10-07 23:44:37 -04:00
Max Hilbrunner 70ac3fc69b Merge pull request #8037 from fearn-e/characterbody2d-tutorial-cs-typo
C# code example bug in CharacterBody2D tutorial
2023-10-06 13:23:01 +02:00
Max Hilbrunner 793baa1a88 Merge pull request #8118 from skyace65/RemoveNote2
Remove outdated trimesh note
2023-10-04 00:06:52 +02:00
skyace65 e48656f335 Remove outdated trimesh note 2023-10-01 13:04:59 -04:00
fearn-e 10f00f1176 Fix csharp bug in tutorial code 2023-09-25 02:24:08 +01:00
toafloast 7183ef3e46 Update ray casting tutorial. 2023-09-21 22:18:55 -07:00
Yuri Roubinski 8377137565 Simplify code for retrieving direction vectors 2023-09-12 11:04:55 +03:00
Hana - Piralein 6a6ef0731d update images and related information 2023-08-20 16:13:18 +02:00
skyace65 72713848ad Mark SoftBody page as outdated 2023-07-25 20:11:07 -04:00
Hugo Locurcio df904137db Fix incorrect usage of backticks in various pages 2023-07-14 19:31:01 +02:00
Jason 8dfddfe490 Fix bug in collision masking bits example 2023-07-11 16:22:46 -04:00
Matthew 160067b0cf Merge pull request #7499 from skyace65/KinematicCharacter
Update KinematicCharacter2D images
2023-07-05 18:39:54 -04:00
Surya Narayan 5c30e12f9a changed collisionInfo.Normal to collisionInfo.GetNormal() 2023-06-22 18:44:30 -04:00
skyace65 ca861e44fc Update kinematic character images 2023-06-11 17:18:34 -04:00
Angad Singh JosanandRaul Santos b360bbc40b Include collide_with_areas in ray-casting.rst (#7449)
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-06-02 12:31:28 +02:00
kkoang 8078590ef8 Update using_character_body_2d.rst 2023-05-28 01:05:11 +08:00
OgGhostJelly 6441b69378 Fixed code snippet using 3.x name for PhysicsServer2D
The code was originally using Physics2DServer which has been renamed to PhysicsServer2D in 4.x
2023-05-19 10:54:50 +07:00
Raul Santos c457ab79ec Update some C# examples
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
Max HilbrunnerandDoug Thompson 72c0af46b2 Snake-case .tscn, .gd and _on_* callbacks
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
2023-05-18 12:46:58 +02:00
VestedGrammarandRaul Santos 50f8f10250 Update physics_introduction.rst (#7360)
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-05-17 10:14:39 +02:00
Chris Bradfield 25942664b6 Remove obsolete and confusing tip re: move_and_slide() 2023-05-09 10:29:09 -07:00
kkoang 68bc1ed4f4 Update using_area_2d.rst 2023-05-07 17:05:52 +08:00
kkoang 995196806e Update rigid_body.rst 2023-05-06 03:03:49 +08:00
kkoang 7f6a4084fb Update physics_introduction.rst
Fix the code so that it can run normally and correct some of the document errors
2023-05-05 19:27:43 +08:00
kkoang c7a6bfc834 Update physics_introduction.rst 2023-05-05 03:07:35 +08:00
Yuri Sizov 0606a8ed38 Move tutorial ZIPs to a dedicated repository 2023-04-26 10:42:20 +02:00
Hugo Locurcio 4992f01016 Add a page on troubleshooting common physics issues
This covers the most commonly encountered physics issues one may
encounter while developing a project.
2023-04-16 18:10:37 +02:00
Hugo Locurcio 76941d213c Fix typo in Large world coordinates 2023-03-23 23:25:08 +01:00
Rémi Verschelde 4ab09f7b89 Merge pull request #6903 from cbscribe/charbody_fix
Fix incorrect method name in Using CharacterBody2D
2023-03-06 11:57:57 +01:00
Chris Bradfield 6a3d4be387 Fix incorrect method name in Using CharacterBody2D
Fixes #6902.
2023-03-06 11:48:51 +01:00
Jef D 9484261739 Clarify reasons for physics processes (#6825) 2023-03-06 10:46:17 +01:00
Emily 3585c66213 Removed all instances of velocity being defined for CharacterBody2D (#6862)
* Removed all instances of velocity being defined for `CharacterBody2D`
2023-03-03 08:07:15 +01:00
Raul SantosandPaul Joannon b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Chris Bradfield 4034965c7a Update CharacterBody2D tutorial, code and descriptions (#6614)
* Update CharacterBody2D tutorial, code and descriptions
2023-01-16 08:15:05 +01:00
Yuri Sizov a20c7f494e Merge pull request #6581 from Piralein/partial🔑
Update C# code samples in Getting Started and Tutorials
2023-01-13 15:59:11 +03:00
Hana 9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Amaral Krichman 0ac2031972 tutorials/physics/ray-casting: Update missing v4 fixes (#6439) 2023-01-11 22:02:16 +01:00
Max Hilbrunner 322e0f5802 Merge pull request #6466 from kkoang/patch-4
Update physics_introduction.rst
2023-01-11 21:59:17 +01:00
Max Hilbrunner 74080ae210 Merge pull request #6473 from kkoang/patch-7
Modify code adaptation 4.0 physics_introduction
2023-01-11 21:57:28 +01:00