195 Commits

Author SHA1 Message Date
nerdbeard
f5b3a2fab2 Update example code for Godot 4 in Using RigidBody (#6215) 2022-09-23 17:27:49 +02:00
jarommadsen
a7f79134a1 Remove obsolete C# methods from Using RigidBody2D (#5957) 2022-07-29 21:40:27 +02:00
vratajin
d330568d32 Fix invalid variable name in C# example in Physics introduction (#5809) 2022-05-07 22:04:48 +02:00
berightben
e5747c8ca7 Fix csharp code in using_kinematic_body_2d.rst (#5173)
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2022-04-29 13:21:41 +02:00
snailrhymer
4ffb42abbb Fix a typo in Physics introduction (#5778) 2022-04-27 01:17:39 +02:00
Ricardo Buring
22309d6791 Update mentions of cylinder shape support for Godot 3.4 (#5697) 2022-03-21 00:33:02 +01:00
Markus Sauermann
aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
Rémi Verschelde
9a05eef561 4.0: Convert Sprite references to Sprite2D
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
hpnrep6
cc10608084 Fix Github hyperlink formatting in Using SoftBody (#5097) 2021-07-18 21:42:12 +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
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Hugo Locurcio
6babc68649 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.
2021-05-26 16:59:08 +02:00
Brendan Jackman
3deb283870 Fix indentation in using_kinematic_body_2d.rst 2021-05-24 14:22:15 +02:00
Matthew
b999f71b09 Document physics material (#4817) 2021-04-06 09:54:10 +02:00
31
cc59fa2d2c Fix C# IntersectRay usage: 'exclude' is a Godot Array (#4785) 2021-03-28 03:05:47 +02:00
CssTeja
836f8490f1 Fix typo in Soft Body tutorial (#4767) 2021-03-19 12:30:43 +01:00
Nathan Lovato
c1f7f42ce6 Update the reference to the your_first_game document 2021-03-04 13:47:24 -06:00
GuangGuang
6eb4c3d6f2 Fix collision layer math formula in Physics introduction (#4598) 2021-01-29 15:43:30 +01:00
Aaron Franke
f0dfc9e19c Update ray length constant to match style guidelines 2021-01-19 05:27:07 -05:00
Nathan Lovato
2e820ca8d2 Merge pull request #4337 from dubbl/patch-1
make example asteroids spaceship fly up/forward
2020-11-26 08:31:59 -06:00
Nathan Lovato
b2da992a1f Remove unnecessary comma 2020-11-26 08:20:26 -06:00
skyace65
4a4c012548 Improve link to importing 3D scenes page 2020-11-19 20:52:22 -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
Hauke
f22934fb2d make example asteroids spaceship fly up/forward 2020-11-04 21:58:06 +01:00
Hugo Locurcio
367c6c571d Add a page about 2D collision shapes 2020-10-04 22:54:48 +02:00
Nathan Lovato
557135297f Edit 3D collision shapes
- Passive -> direct voice
- Remove parens in sentences
- Tweak some sentences' wording
- Fix typos
- Add missing Oxford commas
2020-09-26 11:22:14 -06:00
Hugo Locurcio
1e203d2378 Add a page about 3D collision shapes 2020-09-19 22:04:06 +02:00
Rémi Verschelde
1740baf9de Merge pull request #3898 from faintdeception/patch-1
Typo in C# example change velocity to _velocity
2020-09-09 14:14:04 +02:00
skyace65
51f9b61b39 Add information on how get_slide_count counts collisions 2020-08-30 21:56:51 -04:00
Zach Ruffin
b8c26c2bad Typo in C# example change velocity to _velocity
There's a typo in the C# example code:

MoveAndCollide(velocity * delta);

should be 

MoveAndCollide(_velocity * delta);
2020-08-14 07:52:07 -04:00
Hugo Locurcio
f3e24e46b7 Fix code block formatting and reference in Physics introduction 2020-08-03 13:54:08 +02: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
ce7a9a6eab Images: Remove unused images (no 'image::' or 'figure::' reference) 2020-06-05 14:43:20 +02:00
Hugo Locurcio
942352738e Explain what delta is in Physics introduction
This closes #3627.
2020-06-02 22:14:30 +02:00
skyace65
6d34767fd4 Fix C# issues in intro to physics 2020-05-18 11:44:45 -04:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Chris Bradfield
85ced2e9e4 Using KinematicBody2D: update parameter names 2020-05-14 09:21:35 -07:00
Daniel Nimmervoll
6af982bc47 Fix typo in c# script of bouncing/reflecting part (#3443) 2020-04-25 17:31:08 +02:00
Chris Bradfield
cd75be0752 Add get_slide_collision example to Using Kinematic tutorial (#3297) 2020-04-07 10:07:29 +02:00
Aaron Franke
35feb8268b Commit files changed by the formatting script 2020-03-25 03:44:59 -04:00
LainYC
0f188c65c5 C# bullet documentation (#3220)
Unless I am mistaken, you cannot directly call the hit method, and must use .Call(). Seems to not even be capable of compiling, not sure how much these C# sections are tested?
I also presume there's not much reason to shorten collision to collsion, so I threw that change in as well.
2020-03-03 20:18:14 +01:00
Nathan Lovato
99fc784dc3 Explain why we store the return value from move_and_slide (#3001)
* Explain why we store the return value from KinematicBody2D.move_and_slide

Close #2934

* Edit using_kinematic_body_2d, use direct voice over the passive voice
2020-01-15 14:25:41 +01:00
Nathan Lovato
f4bd3e6c28 Restore original meaning of a sentence in kinematic_character_2d, tweaks 2019-12-23 09:55:50 +01:00
Nathan Lovato
8a138215f4 Edit using_kinematic_body_2d, use direct voice over the passive voice 2019-12-22 23:36:01 +01:00
PouleyKetchoupp
d2a87eb012 Fixed some typos and wording in tutorials 2019-12-22 18:32:19 +01:00
Chris Bradfield
73958f067b Using Area2D tutorial 2019-08-26 18:12:25 -07:00
Chris Bradfield
3391152cb2 Remove __MACOSX folder from zip files 2019-05-28 11:34:42 -07:00
Chris Bradfield
41b67909fe Minor tutorial fixes for 3.1 2019-03-20 18:35:40 -07:00