The MOST UNDERRATED Godot tool (GEOMETRY CLASS)

  Рет қаралды 7,077

MrElipteach

MrElipteach

Күн бұрын

I'm showing you how you can use the Geometry class to do boolean operations, segment intersection, triangulation, etc...
MADE FOR GODOT 3.5
🎓 Learn how to make JUICY games 👇
www.udemy.com/course/learn-ho...
Dashpong: s.team/a/1729250/
Geometry demo: mreliptik.itch.io/geometry-cl...
Sources: github.com/MrEliptik/godot_ex...
Geometry class doc: docs.godotengine.org/fr/stabl...
2D fracture: github.com/SoloByte/godot-pol...
👤 SOCIALS
~~~~~~~~~~~~
💰 One time donation: ko-fi.com/mreliptik
💰 Support me on Patreon: / mreliptik
🟣 Join us on Discord: / discord
🔴 Twitch: / mreliptik
🐤 Twitter: / mreliptik
🎥 TikTok: / mreliptik
🖼️ Instagram: / mreliptik
🔗All links: bento.me/mreliptik
MUSIC
~~~~~~~~~~~~
Jazzhead - VOiD1 Gaming (www.void1gaming.com)
Anthem of Rain - Leave the country
Origami Repetika - Plumstead Reflections
CHAPTERS
~~~~~~~~~~~~
00:00 - Intro
00:25 - Boolean operations
02:02 - Is point inside?
04:13 - Closest point(s)
05:42 - Intersection point(s)
06:22 - Polygon offset & triangulation
07:06 - Outro

Пікірлер: 22
@frecio231
@frecio231 Жыл бұрын
Great video, I'd like to see the 3D version
@dbatdev
@dbatdev 8 ай бұрын
Very instructive, Thank you!
@4U4U7
@4U4U7 11 ай бұрын
Loving your channel! Thanks for the great videos and please do keep them coming, definitely of the best out there! All the best to your endeavours and keep well, looking forward to your next tutorials.
@mrelipteach
@mrelipteach 11 ай бұрын
Thank you! Will do!
@UnwittingSweater
@UnwittingSweater 3 ай бұрын
Great video. Thank you.
@soonheng1577
@soonheng1577 Жыл бұрын
yup, we want 3d. great vid!
@sslaxx
@sslaxx Жыл бұрын
Nice! Such interesting functionality - wondering about implementing it into 2D platformers.
@mrelipteach
@mrelipteach Жыл бұрын
That would be cool!
@gadmas2670
@gadmas2670 Жыл бұрын
Would love a Video about the trajectory indicator line :)
@mrelipteach
@mrelipteach Жыл бұрын
Take a look at this tutorial from KidsCanCode kidscancode.org/godot_recipes/3.x/2d/2d_draw_trajectory/
@jeyko666
@jeyko666 11 ай бұрын
thx thx it's great!
@Bassalicious
@Bassalicious Жыл бұрын
Great video! Is there any chance you could do a 3D version of this? Ideally I'd want the volume and centre of mass of the intersection of two 3D collision shapes / meshes. I'm very much a beginner and have no idea if this approach is feasible performance-wise or even necessary for my project idea. Maybe I'll come across a more elegant solution but I'll give the 3D "clip_polygon()" function a go. I had no idea it even existed and it might just be what I needed.
@mrelipteach
@mrelipteach Жыл бұрын
For the center of mass you can easily get the collision points between the area and by computing the average position it'll give you the center. I made a blogpost about that: mreliptik.github.io/godot-area-collision/ Concerning the volume, it might be a bit harder. I'm not sure if Godot as built in functions for that
@Bassalicious
@Bassalicious Жыл бұрын
@@mrelipteach Thanks! I fiddled around with it some more and I think approximating the volume by casting out rays in a grid pattern might be good enough for what I need. One of the shapes is always a specific cylinder so I'm casting rays radially from its centre axis and calculating the volume of a truncated pyramid basically. Wish me luck this works out :D
@yozheeg
@yozheeg Жыл бұрын
super!
@friendlyfox2189
@friendlyfox2189 Жыл бұрын
please do 3d, there are hardly documentation these kind of stuff
@Bassalicious
@Bassalicious Жыл бұрын
Exactly what I am looking for too.
@jeyko666
@jeyko666 11 ай бұрын
can't seem to get difference 2d boolean working
@mrelipteach
@mrelipteach 11 ай бұрын
But it works with other operations? Make sure both polygon points are in the same transform, and make sure the operation you're trying to do makes sens. If both polygon are not overlapping for example, it won't do what you expect of course
10+2 AWESOME ADDONS for GODOT 4
8:36
MrElipteach
Рет қаралды 125 М.
Stop "learning" gamedev right now
17:00
MrElipteach
Рет қаралды 7 М.
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 42 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 12 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 6 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
SUPER EASY 2D DESTRUCTIBLE TERRAIN in Godot
5:26
MrElipteach
Рет қаралды 11 М.
The SECRET FORMULA for juicy movements
4:27
MrElipteach
Рет қаралды 7 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 451 М.
BETTER 2D visuals in 7 EASY TIPS
10:38
MrEliptik
Рет қаралды 61 М.
I recreated Balatro's effects in Godot
8:04
MrElipteach
Рет қаралды 23 М.
Animation vs Geometry - An Over-Analysis
9:01
Gallium-Gonzollium
Рет қаралды 110 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,4 МЛН
Top Down 2D Shooting in Godot
18:33
Code with Tom
Рет қаралды 82 М.
😨 Это реально Самый Высокий миф в Майнкрафт
37:29