Godot 4.x Basics: Geometry2D
Javlin Studio
A look at all the methods within the Geometry2D helper class.
If you have any suggestions for future topics, advice, or criticisms please let me know down in the comment section :]
00:00 - Intro
Point Methods
00:25 - Start of Point Methods.
00:35 - .get_closest_point_to_segment() & .get_closest_point_to_segment_uncapped()
00:56 - .point_is_inside_triangle(), .is_point_in_circle(), and .is_point_in_polygon()
Line Methods
01:28 - Start of Line Methods.
01:40 - .line_intersects_line()
01:59 - .segment_intersects_segment()
02:23 - .get_closest_point_between_segments()
02:36 - .segment_intersects_circle()
Polygon Methods
03:08 - Start of Polygon Methods.
03:21 - .convex_hull()
03:39 - What does it mean for a polygon to be "convex"?
03:54 - .triangulate_delaunay()
04:49 - .triangulate_polygon()
05:24 - .decompose_polygon_in_convex()
05:34 - .offset_polygon()
06:29 - .offset_polyline()
Bool Methods
07:45 - Start of Bool Methods.
07:57 - .merge_polygons()
08:11 - .clip_polygons()
08:40 - .is_polygon_clockwise()
08:53 - .clip_polyline_with_polygon()
08:58 - .intersect_polygons()
09:27 - .intersect_polyline_with_polygon()
09:37 - .exclude_polygons()
Make Atlas
10:12 - .make_atlas()
11:00 - Creating Atlases in the engine before runtime.
11:07 - Outro ... https://www.youtube.com/watch?v=fpC4jXuva5A
49207203 Bytes