Particles node
Rope Gravity
The baseline pull for a Rope System — a constant acceleration in any direction, applied to every cable particle. Without a force node inside the container, cables keep momentum only and float like space cables, so Rope Gravity is normally the first node you add after a Rope.
Inputs
| Port | Type | Default |
|---|---|---|
| EnableOff removes this force from the system; the cables keep whatever momentum they had. | bool | true |
| Direction XHorizontal part of the pull direction. The three axes are normalised together, so only their ratio matters; an all-zero direction falls back to straight down. | float | 0 |
| Direction YVertical part of the pull direction; -1 is normal downward gravity. Only the ratio between the axes matters. | float | -1 |
| Direction ZDepth part of the pull direction, positive pulling toward the camera. Only the ratio between the axes matters. | float | 0 |
| StrengthHow hard the pull is; 1 is natural cable weight. Not clamped — negatives pull the opposite way and values above about 5 make cables snap taut instantly. | float | 1.0 |
Outputs
| Port | Type |
|---|---|
| Config | structure |
How It Works
Rope Gravity is one of the four stacking force nodes that live inside a Rope System. It does not simulate — it emits a Config structure that the container collects each frame and uploads to the GPU. Inside the solver, every enabled force is evaluated per particle, per substep, and the results are summed: add a Gravity, a Wind and a Turbulence node and cables feel all three simultaneously. A system accepts up to 16 force nodes.
The force is a pure constant acceleration: direction (normalized from Direction X/Y/Z) × Strength. Strength 1.0 corresponds to 2.5 Grafit units/s² — deliberately calibrated so that a 1-unit cable on a 2-unit-tall screen settles in a beat instead of drifting like it's on the moon. Because the force is a pure function of position and time (here, of neither), it can never inject energy that tears a cable — forces move ropes, only pin separation tears them.
Each Rope node scales its own response through Gravity Scale, so one gravity node can pull heavy and light cables differently in the same system. Setting Strength to exactly 0 removes the force from the frame entirely (the container drops zero-strength configs), and Enable off does the same.
Direction is normalized before use, so Direction 0, −10, 0 behaves identically to 0, −1, 0 — magnitude belongs to Strength. If all three components are zero, the default down direction is used.
Parameters in Depth
| Port | Type | Default | Meaning |
|---|---|---|---|
Enable | Bool | true | Off removes this force from the simulation entirely. |
Direction X | Float | 0 | Horizontal component of the pull direction (vector is normalized). |
Direction Y | Float | −1 | Vertical component. −1 is down in Grafit coordinates. |
Direction Z | Float | 0 | Depth component — positive Z pulls toward the camera. |
Strength | Float | 1.0 | Acceleration magnitude; 1.0 ≈ 2.5 Grafit units/s², natural cable weight. Negative values flip the direction. |
Output: Config (structure) — collected automatically by the parent Rope System.
Use Cases
- Normal hanging cables — drop one Rope Gravity next to your Rope node and leave the defaults: cables droop and swing naturally.
- Zero-G flotation — set
Strengthto 0.05 and add a Rope Turbulence node: cables drift like kelp or seaweed in slow water. - Tilting world — LFO →
Direction XwhileDirection Ystays at −1: gravity swings side to side and the whole bundle sways in sync, as if the room were rocking. - Beat-driven jolt — Audio Beat Detection
Kick→ Math (multiply) →Strengththrough the system's wildcard+boundary: every kick yanks the cables downward. - Upward smoke —
Direction Y= 1 with a modestStrengthand lowDampingon the Rope: cables rise like ribbons in a draft. - Depth pull —
Direction Zpositive with aCamera Distancearound 3 on the system: cables lean toward the viewer and grow in perspective.
Tips
- Force nodes stack additively — there is no "master" gravity. Two Rope Gravity nodes with opposite directions cancel exactly.
- Per-cable weight belongs on the Rope node's
Gravity Scale, not here: one gravity, many weights. - A
Strengthof exactly 0 makes the node a no-op for that frame; useEnableif you want to keep the value while muting the force. - Gravity can never tear a rope on its own — tearing is governed by pin separation versus
Tear Distanceon the Rope node, so animate the anchors if you want breaks. - Extreme
Strength(well above ~10) with fewSegmentscan look stiff; raise the system'sQualitytier rather than lowering the force.
Open Rope Gravity in the interactive catalog →
Rope Gravity is one of 381 nodes in Grafit Pro.
Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.