Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Vector2 editor

An asset by Mero
The page banner background of a mountain and forest
Vector2 editor hero image

Quick Information

0 ratings
Vector2 editor icon image
Mero
Vector2 editor

Edit Array[Vector2] and PackedVector2Array directly in the editor as if they were polygons—no extra nodes, no complex setup. Just enable, drag, add, or remove points right on the canvas.For more information click on "View files"

Supported Engine Version
4.2
Version String
v1.0.0
License Version
MIT
Support Level
community
Modified Date
13 hours ago
Git URL
Issue URL

Godot-Vector2EditorPlugin Icon

Godot Vector2Editor Plugin

About

Edit Array[Vector2] and PackedVector2Array directly in the editor as if they were polygons—no extra nodes, no complex setup. Just enable, drag, add, or remove points right on the canvas.

Demo Preview

README demo-preview1

Features

  • Easy to use - simply install, enable and you are ready to go!
  • Edit Array[Vector2] and PackedVector2Array with power of polygons editing
  • support for CanvasItem nodes (Node2D, Control and any of their subtype)
  • Doesn't impact project performance or complexity

Requirements

  • Godot 4.2 or higher

Installation

  • Open the AssetLib tab in Godot with your project open.
  • Search for "Vector2 array editor" and install the plugin by Mero.
  • Open project settings -> plugins, and enable the plugin Vector2ArrayEditor.
  • Done!

Usage

[!WARNING] Make sure to check Troubleshooting section

# in your Node2D script

@export var arr1: Array[Vector2]
@export var arr2: PackedVector2Array
  • select any node in your scene with exported Array[Vector2] or PackedVector2Array property type

  • click "Edit in 2D view" button in the inspector right above your property to enter edit mode

README edit-btn-screenshot

  • if there is less then 3 items in your array the button will add missing points (it won't override existing ones)

README add-btn-screenshot

Troubleshooting

  • plugin support only CanvasItem nodes, e.g. Node2D, Control and any of their subtype. For all the other the edit btn will be blocked
  • plugin support only Array[Vector2] or PackedVector2Array types and won't work if you have like array of Vector2 without explicit type
  • is the node was already in focus before enabling the plugin - refocus it to see the edit buttons

Edit Array[Vector2] and PackedVector2Array directly in the editor as if they were polygons—no extra nodes, no complex setup. Just enable, drag, add, or remove points right on the canvas.

For more information click on "View files"

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 editor icon image
Mero
Vector2 editor

Edit Array[Vector2] and PackedVector2Array directly in the editor as if they were polygons—no extra nodes, no complex setup. Just enable, drag, add, or remove points right on the canvas.For more information click on "View files"

Supported Engine Version
4.2
Version String
v1.0.0
License Version
MIT
Support Level
community
Modified Date
13 hours 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