141 Commits

Author SHA1 Message Date
jcovin293
65fc265b08 Change KinematicBodies to CharacterBodies in collision_shapes_3d.rst and collision_shapes_2d.rst 2023-10-09 01:35:44 +02:00
fearn-e
3ca515ee9f Fix csharp bug in tutorial code 2023-10-09 01:23:28 +02:00
skyace65
2353fdbd96 Remove outdated trimesh note 2023-10-09 01:21:41 +02:00
toafloast
797f19e7ff Update ray casting tutorial. 2023-10-09 01:21:02 +02:00
Hana - Piralein
8171bb796a update images and related information 2023-10-09 00:28:21 +02:00
Max Hilbrunner
58e95e7158 Merge pull request #7726 from skyace65/Softbody2 2023-08-01 05:38:15 +02:00
Max Hilbrunner
5eefb344e8 Merge pull request #7655 from Calinou/fix-backticks 2023-08-01 05:36:33 +02:00
Matthew
a48e0860c1 Merge pull request #7499 from skyace65/KinematicCharacter
Update KinematicCharacter2D images
2023-08-01 05:17:21 +02:00
Matthew
c3d5fba31b Merge pull request #7646 from rametta/patch-2
Fix bug in collision masking bits example
2023-08-01 05:15:49 +02:00
Surya Narayan
5c30e12f9a changed collisionInfo.Normal to collisionInfo.GetNormal() 2023-06-22 18:44:30 -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
kkoang
6bae3e2cf0 Update physics_introduction.rst
small fix
2022-12-08 23:24:27 +08:00
Hugo Locurcio
509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Clay John
823021bed3 Fix text mentioning model vertex snapping in Large world coordinates (#6324)
The doc originally said that model's vertices would snap to the nearest
number represented by floating point, however, it is the objects origin
position that will snap to the nearest floating point, the individual vertices
will be fine.
2022-10-17 22:35:12 +02:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
70b324b70d Merge pull request #6314 from Calinou/add-large-world-coordinates
Add a page on large world coordinates (double-precision floats)
2022-10-16 01:43:48 +02:00
Hugo Locurcio
7c7fcb9ef3 Add a page on large world coordinates (double-precision floats) 2022-10-16 01:27:15 +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
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