30 Commits

Author SHA1 Message Date
Teggy
3cc46eb1f5 Fix ray casting tutorial typo 2025-08-17 10:09:25 +02:00
Hana - Piralein
cd3e94b4a1 add missing brackets in c sharp code 2025-07-14 20:29:57 +02:00
Raul Santos
cea78730d0 [.NET] Use collection expressions
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 03:38:42 +01:00
tetrapod00
93489bbefb Use "low-level" and "high-level" instead of "low level" and "high level"
Co-Authored-By: John Veness <2512915+JohnVeness@users.noreply.github.com>
2024-11-18 13:47:58 -08:00
Shawn Hardern
e09439a4e0 Add missing C# code examples to documentation
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-08-27 11:14:49 +01: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
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
toafloast
7183ef3e46 Update ray casting tutorial. 2023-09-21 22:18:55 -07: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
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
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
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
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
024fedb0f3 Kinematic -> Character 2022-10-15 17:55:24 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0 Draft: Remove "simple", "simply", "easy", and "just" from the docs (#4496)
* Various style edits

* Edit out "simple" when possible

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2021-07-11 14:38:53 +02:00
BlueStag
a090a578fb Fixed GetNode inconsistencies (#5056)
* Fixed GetNode inconsistencies (C#)

The generic method should be used instead. See #4794.
2021-07-01 08:06:13 +02:00
31
cc59fa2d2c Fix C# IntersectRay usage: 'exclude' is a Godot Array (#4785) 2021-03-28 03:05:47 +02:00
Aaron Franke
f0dfc9e19c Update ray length constant to match style guidelines 2021-01-19 05:27:07 -05:00
Hugo Locurcio
471618db61 Clarify that GDScript is not based on Python
This also fixes capitalization where "GDscript" was used instead of
"GDScript".

This closes #4378.
2020-11-19 14:57:12 +01:00
balloonpopper
c40d74e19b Added examples for collision layer masks (#3863)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2020-08-03 13:47:40 +02:00
Rémi Verschelde
a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
corrigentia
2925265833 Fix some punctuation and grammar in ray-casting
Fix some punctuation and grammar in ray-casting.
2018-12-21 10:36:24 +02:00
Paul Joannon
fb069fe875 Translate Tutorials/Physics/RayCasting to C# 2018-04-05 14:52:46 +02:00
Chris Bradfield
92500b5ba6 Update ray-casting tutorial 2018-03-04 22:13:00 -08:00
Michael Alexsander Silva Dias
23cb08ce0a Fixes for the GDScript styling in various pages. 2018-02-05 20:12:52 -02:00
Nathan
18f889b6a4 Improve docs structure
Change Step by Step in Getting Started
Remove Engine Features category, move into a new Tutorials top-level section
2018-01-25 08:54:27 +01:00