154 Commits

Author SHA1 Message Date
Mudkipze
3e50e984a6 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.

(cherry picked from commit 5114103e23)
2024-07-24 20:57:49 +02:00
A Thousand Ships
7df8fe736f [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.

(cherry picked from commit c6bf5d4c28)
2024-07-24 20:31:29 +02:00
Max Hilbrunner
8d9af1aa97 Merge pull request #9260 from melquiadess/fix-typos
Fix various minor typos

(cherry picked from commit 9237eb804c)

# Conflicts:
#	contributing/documentation/docs_image_guidelines.rst
#	tutorials/export/one-click_deploy.rst
#	tutorials/xr/openxr_settings.rst
2024-05-07 15:15:03 +02:00
Max Hilbrunner
7ffd381554 Merge pull request #9245 from Calinou/update-assetlib-demo-urls
Update asset library demo URLs to point to Godot 4.x demos

(cherry picked from commit fb2b72bdb8)
2024-05-07 12:58:38 +02: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 Josan
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 Hilbrunner
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
VestedGrammar
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 Santos
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
Hugo Locurcio
58fea1e068 Update SCons option to precision=double in Large world coordinates (#6474) 2022-12-19 17:47:59 +01:00
kkoang
6f1977f821 Modify code adaptation 4.0 physics_introduction
Modify code adaptation 4.0 physics_introduction
2022-12-10 23:37:25 +08:00