lawnjelly
3f8b15f9b0
Physics Interpolation 2D Docs
...
Mostly the same as 3D, just lists differences.
2024-02-25 13:13:58 +00:00
lawnjelly
5b8451286a
Physics interpolation - document how to spawn bullets
2024-02-08 14:50:33 +00:00
videlanicolas
926991cb4c
Update 'velocity' with move_and_slide
...
`move_and_slide` returns the modified velocity, which should be updated in the code. If this is not done, `velocity` will keep increasing due to `velocity.y += delta * gravity`. If one adds a `jump` function to this code it'll not be able to jump, since the vector continues to increase in magnitude and never stops.
By updating the velocity with `move_and_slide` we make sure velocity is 0 when there's no movement, thus reflecting the actual velocity of the object.
2022-10-09 18:17:31 -07:00
jarommadsen
26bd0548bb
Remove obsolete C# methods from Using RigidBody2D ( #5957 )
2022-07-29 22:26:28 +02:00
lawnjelly
8938730213
Physics Interpolation - rename interpolation mode
...
The engine Node.set_physics_interpolated method was changed to set_physics_interpolation_mode to allow more flexibility.
2022-05-19 12:00:12 +01:00
vratajin
4339ecded0
Fix invalid variable name in C# example in Physics introduction ( #5809 )
2022-05-07 22:04:55 +02:00
lawnjelly
0166fee016
Physics interpolation docs
2022-05-05 11:39:48 +01:00
berightben
981698c580
Fix csharp code in using_kinematic_body_2d.rst ( #5173 )
...
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com >
(cherry picked from commit e5747c8ca7 )
2022-04-29 14:01:55 +02:00
snailrhymer
f394a0ac9e
Fix a typo in Physics introduction ( #5778 )
2022-04-27 01:17:48 +02:00
Ricardo Buring
3179f26bf3
Update mentions of cylinder shape support for Godot 3.4 ( #5697 )
2022-03-21 00:33:14 +01:00
Nathan Lovato
67808949a8
Update the reference to the your_first_game document
2021-11-24 10:35:21 -06:00
hpnrep6
e041f6175f
Fix Github hyperlink formatting in Using SoftBody ( #5097 )
2021-07-18 21:42:21 +02:00
Rémi Verschelde
e2b95576d8
Cleanup uses of double spaces between words or after punctuation
2021-07-13 00:44:58 +02:00
BlueStag
7458cde87a
Fixed GetNode inconsistencies ( #5056 )
...
* Fixed GetNode inconsistencies (C#)
The generic method should be used instead. See #4794 .
2021-07-12 23:34:07 +02:00
Hugo Locurcio
4b66f6d744
Rename documentation pages that have the same name as classref pages
...
This prevents confusion in search engine results.
(cherry picked from commit 6babc68649 )
2021-06-02 13:17:00 +02:00
Matthew
fffdfe9ef4
Document physics material ( #4817 )
...
(cherry picked from commit b999f71b09 )
2021-04-06 09:54:26 +02:00
31
2d9771d76b
Fix C# IntersectRay usage: 'exclude' is a Godot Array ( #4785 )
2021-03-28 03:05:59 +02:00
CssTeja
5f37360f38
Fix three typos
...
Fix typo in custom resource format loaders tutorial (#4765 )
(cherry picked from commit 6cacd11cac )
Fix typo in audio streams tutorial (#4766 )
(cherry picked from commit 3d8e3c90c4 )
Fix typo in Soft Body tutorial (#4767 )
(cherry picked from commit 836f8490f1 )
2021-03-19 12:43:30 +01: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
Ignacio Etcheverry
a129652342
Fixes and improvements of C# code examples
2019-02-18 22:08:01 +01:00
Rémi Verschelde
5b2aaf8d41
Optimize PNGs with optipng
...
Using `find -name "*.png" -exec optipng \;` and optipng 0.7.7
2019-01-26 22:10:03 +01:00
Rémi Verschelde
64e7b5a1f5
Cosmetic change for SoftBody tutorial
2019-01-09 10:55:25 +01:00
Rémi Verschelde
9988dd783e
Merge pull request #1805 from ZX-WT/softbody
...
added softbody tutorial
2019-01-08 17:54:31 +01:00
Rémi Verschelde
aa7a9f8675
Misc heading fixes
2019-01-08 11:30:55 +01:00
Rémi Verschelde
a1af0dfc13
Adapt tutorial hyperlinks after godotengine/godot#24640
2019-01-07 11:43:18 +01:00
Rémi Verschelde
0f1c4669c5
Merge pull request #2075 from corrigentia/patch-87
...
Tweak kinematic_character_2d
2018-12-28 14:59:50 +01:00
Rémi Verschelde
4eac43a37e
Merge pull request #2074 from corrigentia/patch-86
...
Tweak ragdoll_system
2018-12-28 14:58:45 +01:00
Rémi Verschelde
4d1b4baab4
Merge pull request #2073 from corrigentia/patch-85
...
Fix some punctuation and grammar in ray-casting
2018-12-28 14:58:21 +01:00