Vector2 Array Resource Editor

An asset by QuantumPilotRacer
The page banner background of a mountain and forest
Vector2 Array Resource Editor hero image

Quick Information

0 ratings
Vector2 Array Resource Editor icon image
QuantumPilotRacer
Vector2 Array Resource Editor

Godot plugin that allows to edit PackedVector2Array as a polygon in the 2D scene view.This plugin provides a new resource Vector2ArrayResource which contains a property data of PackedVector2Array type. The Vector2ArrayResource is a wrapper for PackedVector2Array. When this resource is added to a node, and it is active, the plugin will provide functionality for easy editing data of the array.

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL

Vector2 Array Resource Editor

Godot plugin that allows to edit PackedVector2Array as a polygon in the 2D scene view.

README editing_preview

Installation

  • Manual: Download the source code and move only the addons folder into your project addons folder then enable plugin in Project -> Project Settings -> Plugins.

Usage

This plugin provides a new resource Vector2ArrayResource which contains a property data of PackedVector2Array type. The Vector2ArrayResource is a wrapper for PackedVector2Array. When this resource is added to a node, and it is active, the plugin will provide functionality for easy editing data of the array.

Example

  • Add a property of Vector2ArrayResource to your node
@export var polygon: Vector2ArrayResource
  • Then you can get PackedVector2Array from like this:
func _ready():
    # setuping polygon for CollisionPolygon2D node
    collision_polygon_2d.polygon = polygon.data

There is a example scene in the example folder.

Controls

Action Key
Add vertex left mouse click
Remove vertex right mouse click
Move vertex left mouse klick on vertex and drag
Undo Ctrl + Z
Redo Ctrl + Shift + Z

Buy Me A Coffee

If you find this tool useful consider buying me a coffee:

README ko-fi

Godot plugin that allows to edit PackedVector2Array as a polygon in the 2D scene view.

This plugin provides a new resource Vector2ArrayResource which contains a property data of PackedVector2Array type. The Vector2ArrayResource is a wrapper for PackedVector2Array. When this resource is added to a node, and it is active, the plugin will provide functionality for easy editing data of the array.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Vector2 Array Resource Editor icon image
QuantumPilotRacer
Vector2 Array Resource Editor

Godot plugin that allows to edit PackedVector2Array as a polygon in the 2D scene view.This plugin provides a new resource Vector2ArrayResource which contains a property data of PackedVector2Array type. The Vector2ArrayResource is a wrapper for PackedVector2Array. When this resource is added to a node, and it is active, the plugin will provide functionality for easy editing data of the array.

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers