Description
Changelog
Reviews (0)

Define the initial terrain with Polygon2D children, then call destruct on it to erase a polygonal area. Exported properties:

  • collidable (if true, the node is collidable as a static body in layer 1)
  • free_when_empty (if true, the node is freed automatically when destructed completely)
  • simplification (vertices are deleted if they are less than this number of pixels away from both adjacent vertices)

Video: https://www.reddit.com/r/godot/comments/17zu6wd/open_sourcing_my_destructiblepolygon2d_script/ Example: https://github.com/Julian-Vos/example-DestructiblePolygon2D-4/

Changelog for version v1.0.0

No changelog provided for this version.

Reviews

DestructiblePolygon2D has no reviews yet.

Login to write a review.