Motion2D

Category: Executor Tier: Basic

Purpose

The Motion2D executor provides 2D-specific motion and physics for Node2D-based objects.

Visual Reference

As added to your scene
Motion2D brick as it appears in the GDLink editor

Runtime Behavior

Inputs

  • Activate (Boolean): When true, applies motion; when false, motion stops.

Outputs None.

Properties

Universal (all modes and types)

Property

Type

Default

Description

physics_mode

Option

Simple

Physics system: Simple / Force / Velocity / Character

motion_type

Option

move

Motion type: move / rotate / Top-Down

use_local_space

Bool

true

Local space (true) or world space (false)

vector

Vector3

(0,0,0)

Move/Top-Down: X=right, Y=up (intuitive). Rotate: Z=rotation speed (deg/sec)

speed

Float

100.0

pixels/sec (move) or deg/sec (rotate)

Conditional — Simple+move and Simple+Top-Down only

Property

Type

Default

Description

clamp_input

Bool

true

Clamp X/Y to -1..1 range

normalize_diagonal_speed

Bool

true

Prevent √2 speed boost on diagonal input

diagonal_speed_factor

Float

1.0

Scale diagonal speed (0.1–1.0)

Conditional — Character+move and Character+Top-Down only

Property

Type

Default

Description

clamp_input

Bool

true

Clamp X/Y to -1..1 range (also Velocity mode)

character_add

Bool

false

Add to existing velocity (true) or replace (false)

Conditional — Character+move only

Property

Type

Default

Description

character_jump

Bool

false

Enable jump input

…

Generated UI Mockup — showing expanded properties
Motion2D
-
x
Name:
Label this brick...

Properties

This brick does not expose a generated property table yet. See the source specification for implementation notes.