Commit Graph
36 Commits
Author SHA1 Message Date
Hana - Piralein cd3e94b4a1 add missing brackets in c sharp code 2025-07-14 20:29:57 +02:00
Matthew 848476da43 Merge pull request #10770 from BLooperZ/axes_colors
Replace axes colors in image
2025-03-30 09:08:13 -04:00
Niv Baehr 8c29424165 Adjust transform image and convert to WebP 2025-03-28 15:36:24 +03:00
Raul Santos f044c7c1d1 Fix C# example about interpolating with quaternions
The `GetQuaternion` method was unexposed in 4.0. The example now uses the `Quaternion(Basis)` constructor which matches the GDScript example.
2025-03-28 00:46:34 +01:00
Furkan Calik c0f0a58695 Update using_transforms.rst to clarify rotate_local() axis usage 2024-10-06 20:23:39 +03:00
Paul Joannon a60ab49aac Fix some forgotten lowercase x/y/z 2023-10-21 21:23:01 +02:00
skyace65 1ae0eff971 Fix Build issue 2023-10-02 21:19:42 -04: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
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
GerryandAaron Franke 61e9256e4f Clear up ambiguity in the intial rotation example
When a user is seeing transform.basis for the first time, it's
very important to label all the inputs. People reading this are
being presented with several values at once and must understand
all of them to understand what is happening in the example. The
reader is likely unfamiliar with what `transform.basis` actually
does. They are also given a Vector3 without explanation that it
is the axis, they are given PI without explanation that that is
the amount of rotation, they are multiplying by the value of the
transform.basis again hinging on them understanding what that is.
Finally, they are creating a Basis object and it's not made clear
that the two values this receives are actually an axis and an
amount.

Rotating by PI makes the rotation direction very unclear.

I'm introducing the changes above to hopefully rectify a lot of
these issues and make things easier for the next person.

Thanks to Aaron Franke for:

- Adds types to the C# code
- Fixes a misnamed variable
- Clearing up some of the code comments
- Changes vectors so they are consistent with the GDScript examples
- fixing float values so they are correct and consistent

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2022-04-29 21:26:22 +01:00
Jonathan DeissandHugo Locurcio 616e3f970b Improve sentence flow in Using 3D transforms (#5773)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-04-23 00:31:23 +02:00
Markus Sauermann aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
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
Hugo Locurcio 4f6fdbc710 Fix various spacing and capitalization issues 2020-05-18 09:54:32 +02:00
Hugo Locurcio 046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Volodymyr Sereda 8dcc20ad7c Fix "looking around" C# example
The example was referencing a variable that did not yet exist, instead of referencing "@event", so it did not compile. This fixes that, leading to correct behaviour.
2019-05-27 19:22:46 +01:00
Ian Byrne 9c4a0585f1 Fix typo in Using Transforms examples
Match CSharp example with GDScript example
2019-05-26 20:01:17 +01:00
Ignacio Etcheverry a129652342 Fixes and improvements of C# code examples 2019-02-18 22:08:01 +01:00
corrigentia 4b4a9f4442 Docs: Fix grammar and punctuation in using_transforms.rst (#2033) 2018-12-12 15:29:13 +01:00
Rémi Verschelde 4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Rémi Verschelde e29dc58cbb Heading capitalization fixes + misc edits 2018-08-23 10:57:22 +02:00
mhilbrunner f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Kelly thomas bf817ddfc3 c sharp samples for using 3D transforms 2018-04-24 12:15:52 +08:00
Faruk Acibal abd04a76e5 fix transform_camera image not showing up 2018-04-19 19:09:07 +02:00
Yuri Chornoivan 11d534015d Fix minor typos 2018-04-18 21:44:15 +03:00
Poommetee Ketson d935cb01b7 UsingTransforms: minor typo togehter -> together 2018-04-13 01:54:09 +07:00
Hugo Locurcio 2d3d52232b Improve grammar and add a link in 3D Transforms 2018-04-05 13:04:05 +02:00
Poommetee Ketson b9bd60f091 Tutorial/3D/Transforms: remove trailing spaces, fix typos 2018-04-05 10:22:42 +07:00
Chris Bradfield ef371da3d7 Fixes to 3D Transforms doc (#1306) 2018-04-05 05:05:59 +02:00
Juan Linietsky 6493c06853 Some fixes to transform tutorial 2018-04-04 23:13:07 -03:00
Juan Linietsky 44f7e27fe2 Small fix 2018-04-04 23:13:07 -03:00
Michael Alexsander Silva Dias 8726090eb0 Fixed "Vector math" reference in the new "Using transforms for 3D" page. 2018-04-04 19:55:37 -03:00
Juan Linietsky d3bbae3310 fix some section craze 2018-04-04 16:34:50 -03:00
Juan Linietsky c1e284bc64 Fixes 2018-04-04 16:23:26 -03:00
Juan Linietsky 378584531d Added tutorial for using transforms in Godot 2018-04-04 15:20:59 -03:00