RECLecoanet Design
EN → FR
Studio notes · After Effects

Simple Gravity: layers that fall, bounce and collide

Download the pack242 KB
Falling letters: the word splits into letters that fall with the shapes and pile up at the bottom of the comp. Rendered in After Effects.
In short

Simple Gravity is a free After Effects panel. It drops the selected layers: they bounce, slide, tumble and collide with each other, on the comp edges or on objects you choose. The panel computes the fall once and for all: playback is smooth, and every setting changes in one click. The panel speaks English, French and Spanish.

Bouncing one object by hand is a matter of speed curves. Dropping ten that hit each other is another story: every impact depends on the others. That takes a real physics engine, and in After Effects those come as paid plug-ins.

Simple Gravity runs one simulation for all the layers, from their actual shapes. It only adds expressions and a control layer, so the project opens on any machine with After Effects.

The letters of the word GRAVITY falling with a yellow oval, rectangle and pentagon
Download Simple Gravity 2.8

A 242 KB zip: the .jsx script, a small auto-open script, a sample project, a PDF user guide in English, French and Spanish, and a readme. Free for personal and commercial projects.

Download the pack242 KB

Install the panel

  • To try it: File → Scripts → Run Script File…, then pick Simple_Gravity.jsx.
  • To dock it: copy the .jsx into After Effects' Scripts/ScriptUI Panels folder, restart, then open it from the Window menu. Dock it in the interface: After Effects 2027 does not let you resize a script panel's floating window.
  • Optional: tick Open this panel when I select "Gravity Control", and copy Startup/Simple_Gravity_AutoOpen.jsx into Scripts/Startup. Clicking a "Gravity N Control" layer then reopens the panel, even right after After Effects starts.

The panel has two tabs, Create and Settings. A menu at the top switches the interface between English, French and Spanish.

A first drop in one minute

  1. In a comp, select the layers that should fall: shapes, texts, solids, footage or precomps.
  2. In the Create tab, pick a preset, a start order and the floor.
  3. Click the orange Apply gravity button: a progress bar shows while it computes.
  4. Play: the layers fall from the start time.

Seven presets set the character of the fall: Bounce, Rubber ball, Heavy object, Moon, Falling letters, Explosion and Toss. The start order drops the layers one after the other (selection order, left to right, top to bottom, random) or all together with Simultaneous.

A guide text layer, "Gravity 1 Control", holds the settings. It does not render. Each falling layer gets its precomputed track: nothing is recomputed during playback.

The Simple Gravity panel, Create tab (shown in French): preset, start order, floor and the orange Apply gravity button

Shape matters

The simulation reads the real outline of shape layers: a circle rolls, a star lands on its points, a triangle tips onto a side. Other layers use their bounds. Mass follows area, so a big object pushes a small one around.

A square dropped perfectly flat would bounce exactly like a ball. That is correct, and it looks wrong. The Tumble setting gives it a slight imbalance at the start: it lands on a corner, bounces low and rolls from face to face before settling.

Floor, walls and static objects

  • Comp edges: the bottom is the floor, the sides are walls.
  • Create a ground layer: a gray rectangle to move, stretch or tilt into a slope or a platform.
  • Static object: any layer becomes a fixed obstacle with its real outline. A circle in the comp makes whatever lands on it slide off. You can even animate it during the fall.

The panel's "Static objects" line lists the ones that count. A hidden layer, eye off, never counts.

Drop the letters of a word

Tick Split text layers into letters, or pick the Falling letters preset, which ticks it for you. When you apply, each selected text becomes one shape layer per letter, exactly in place, and the original text is hidden. Each letter has its own outline: an I and a W do not collide the same way.

Remove gravity deletes the letters and shows the original word again, ready to edit.

Tweak, update, bake

The Settings tab mirrors every setting of the selected gravity, with a slider and a field to type a value: gravity, air resistance, bounce, friction, start velocity and spin, tumble, start time, stagger and precision. Every change recomputes the fall and can be undone with Cmd+Z.

  • Keep the animation's velocity: an animated layer leaves with its speed. A hand-animated throw ends in a natural fall.
  • Update: after moving, editing or renaming a layer, so the simulation reads its position and shape again.
  • Bake to keyframes: replaces the tracks with one keyframe per frame over the work area, so you can retouch the fall by hand.

Good habits

  • One layer, one object: several shapes in one layer fall as a single block. Split them first with Layer → Create → Create Shapes from Groups.
  • Do not rename the "Gravity N Control" layer: the falling layers find it by name.
  • Computing takes a few seconds, up to about a minute for many layers on a long comp. It stops as soon as everything rests.
  • The PDF guide in the pack covers every button and setting.
Simple Gravity 2.8

Free for personal and commercial projects. Please do not redistribute the pack: share the link to this article instead. A question, a bug? Leave a comment. And tell me what you make with it: what helps, what is missing, what you would like in a next version.

Download the pack

Comments

    Leave a comment

    Comments are reviewed before they appear. See the privacy policy.