goostengine / goost

A general-purpose, extensible and customizable C++ extension for Godot Engine.
https://goostengine.github.io/
MIT License
481 stars 18 forks source link

Add `PolyCapsule2D` node #134

Closed Xrayez closed 3 years ago

Xrayez commented 3 years ago

Allows to generate capsule outlines. Extends PolyNode2D so it can be used with other nodes in boolean operations in 2D in the scene. Similar to CapsuleShape2D in Godot.

image

GoostGeometry2D.capsule() is also added if you don't want or need to use nodes (similar to GoostGeometry2D.circle()).