Inverted CollisionPolygon2D

by TemplateDev

3

Inverts all of your problems with the CollisionPolygon2D! If the Polygon2D is able to invert its points, so should CollisionPolygon2D as well! This plugin does just that!

How to use:

  1. Enable the plugin!

image

  1. Copy the PackedVector2Array of a polygon2D and paste it into the CollisionPolygon2D of your node! (In general, you may not need to copy a Polygon2D)

image image

  1. Select the CollisionPolygon2D node and press the polygon button! You can also go to 'Project -> Tools -> Invert Polygon' to invert!

image

Your CollisionPolygon2D should go from this:

Screenshot 2024-04-22 032545

to this:

Screenshot 2024-04-22 032612

Want to keep a CollisionPolygon2D updated with Polygon2D?

  1. Find the InvertedCollisionPolygon2D node.

image

  1. Set the polygon and you are all setup!

image

Version

1.0

Engine

4.0

Category

2D Tools

Download

Version1.0
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author