Skip to content

ScenePointsTools ​

Inherits: HSplitContainer

THE POINTS TOOL (2026-11-14, the user: the points of a skeleton set in our editor with a 3D tool, as the weapon mesh tools set a weapon's; the move gizmo on them). The list of the points of the scene on the left (a point the scene lacks says "missing": Add missing points makes them where they go by default), the scene in a large 3D view on the right (a skeleton playing an animation you choose: a point follows its bone). Every point is a dot in the view (click one to pick it); the picked one has the move gizmo: hold an arrow and drag (Ctrl: snap 1 cm). Under the list: the bone the point is on (a skeleton), its position and turn on that bone (typed), quarter turns, Reset (where it goes by default), and to judge it: an effect played on the point, a weapon held in the grips. Every change is saved into the scene file at once (the scene a kind of points says: ScenePoints), so the game and Godot's own scene view have it. Used by Entity Assets > Skeletons (SkeletonPoints) and Entity Assets > Interactable Scenes (InteractablePoints).

Variables ​

ScenePointsmodelnull
Stringscene_path""
Nodeshown_rootnull
Nodeedit_rootnull
Stringpicked""
AssetViewport3Dviewportnull
AxisGizmo3Dgizmonull
ItemListpoint_listnull
Buttonadd_missing_buttonnull
Labelpicked_labelnull
Labelused_labelnull
HBoxContainerbone_rownull
OptionButtonbone_optionnull
Array[SpinBox]position_spins[]
Array[SpinBox]rotation_spins[]
Buttonreset_buttonnull
OptionButtoneffect_optionnull
OptionButtonweapon_optionnull
HBoxContainerweapon_rownull
Labelstatus_labelnull
VBoxContainereditor_boxnull

Methods ​

voidedit_skeleton( skeleton_name: String, path: String )
voidedit_interactable( path: String )
voidclear()
voidpick( key: String )
voidadd_missing()
voidset_point_transform( key: String, at: Transform3D )
voidturn_picked( axis: Vector3 )
voidreset_picked()

Signals ​

point_saved( key: String ) ​

A point was changed and saved (its key)

Constants ​

  • float DOT_RADIUS = 0.022
  • Color COLOR_DOT = Color(0.85, 0.9, 1.0, 0.85)
  • Color COLOR_PICKED = Color(1.0, 0.85, 0.2, 1.0)
  • Color COLOR_GRIP = Color(1.0, 0.55, 0.25, 0.9)
  • float PICK_PIXELS = 12.0

Variable descriptions ​

ScenePoints model = null ​

The kind of scene (its points), the file, the instance shown in the view (in the tree) and the copy that is saved

String scene_path = "" ​

No description yet.

Node shown_root = null ​

No description yet.

Node edit_root = null ​

No description yet.

String picked = "" ​

The point picked ("" none)

AssetViewport3D viewport = null ​

No description yet.

AxisGizmo3D gizmo = null ​

No description yet.

ItemList point_list = null ​

No description yet.

Button add_missing_button = null ​

No description yet.

Label picked_label = null ​

No description yet.

Label used_label = null ​

No description yet.

HBoxContainer bone_row = null ​

No description yet.

OptionButton bone_option = null ​

No description yet.

Array[SpinBox] position_spins = [] ​

No description yet.

Array[SpinBox] rotation_spins = [] ​

No description yet.

Button reset_button = null ​

No description yet.

OptionButton effect_option = null ​

No description yet.

OptionButton weapon_option = null ​

No description yet.

HBoxContainer weapon_row = null ​

No description yet.

Label status_label = null ​

No description yet.

VBoxContainer editor_box = null ​

No description yet.

Method descriptions ​

void edit_skeleton( skeleton_name: String, path: String ) ​

Edits the points of a skeleton (shown as the figure of the view, playing an animation)

void edit_interactable( path: String ) ​

Edits the markers of an interactable scene (shown in the middle of the view)

void clear() ​

Empties the tool

void pick( key: String ) ​

Picks a point: the gizmo goes on it, its fields show it, the effect plays on it

void add_missing() ​

Makes every point the scene lacks, and saves it

void set_point_transform( key: String, at: Transform3D ) ​

Sets a point's transform on what it is on (the shown one and the copy), and saves

void turn_picked( axis: Vector3 ) ​

A quarter turn of the picked point round an axis of its bone

void reset_picked() ​

No description yet.