--- generated_by: gdlink-build generated_at: 2026-06-23T12:34:28Z do_not_edit: true title: Gravity brick_type: executor tier: Basic generated: true --- # Gravity **Category:** Executor **Tier:** Basic ## Purpose Overrides default physics gravity for an object, supporting directional gravity, point attraction (gravity wells), and zero gravity for complex gameplay mechanics like walking on walls, planetary orbit, or localized gravity zones. ## Visual Reference ```{raw} html
As added to your scene
Gravity brick as it appears in the GDLink editor
``` ```{raw} html
Generated UI Mockup — showing expanded properties
Gravity
-
x
Name:
Label this brick...
Mode:
Directional
Direction:X
0
v
Y
-1
v
Z
0
v
Strength:
9.8
v
Target:
v
Fall Mult:
1.0
v
Falloff:
100.0
v
``` ## Properties | Property | Type | Default | Notes | |---|---|---|---| | Mode | option | Directional | Directional: Constant force. Point: Attract to target. Zero: Disable gravity. Restore: Use project default. | | Direction | vector3 | [0, -1, 0] | Direction of gravity (Normalized) | | Strength | float | 9.8 | Gravity strength (9.8 m/s² or 980 px/s²) | | Target | string | | [Point Mode] Object to be attracted towards | | Fall Mult | float | 1.0 | Gravity multiplier when falling (1.0=normal, 2.0=faster fall) | | Falloff | float | 100.0 | [Point Mode] Radius of influence or attenuation start |