Skip to content

Add PolyPath2D node - #114

Merged
Xrayez merged 3 commits into
gd3from
poly-path-2d
Jul 25, 2021
Merged

Xrayez merged 3 commits into
gd3from
poly-path-2d

Conversation

@Xrayez

@Xrayez Xrayez commented Jul 24, 2021

Copy link
Copy Markdown
Contributor

Allows to deflate Path2D curves into buffered polygons. The node extends PolyNode2D, so it can be used in boolean operations with other PolyNode2D-derived nodes. For example, you can carve a tunnel inside a static body (the tunnel's width is exactly the same as Goost character here):

goost_in_tunnel.mp4

image

Since PolyPath2D exposes deflate parameters via PolyOffsetParameters2D, it is converted into a Resource now rather than Reference.

PolyBooleanParameters2D and PolyDecompParameters2D are converted to Resources now as well for consistency.

Xrayez added 2 commits July 24, 2021 18:21
Allows to deflate `Path2D` curves into buffered polygons. The node extends `PolyNode2D`, so it can be used in boolean operations with other `PolyNode2D`-derived nodes.

Since `PolyPath2D` exposes deflate parameters via `PolyOffsetParameters2D`, it is converted into a `Resource` now rather than `Reference`.

`PolyBooleanParameters2D` and `PolyDecompParameters2D` are converted to `Resource`s now as well for consistency.
@Xrayez Xrayez added this to the 1.1-gd3 milestone Jul 24, 2021
@Xrayez
Xrayez merged commit 29acfc9 into gd3 Jul 25, 2021
@Xrayez
Xrayez deleted the poly-path-2d branch July 25, 2021 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant