Logic
2D physics animation for UI that falls, bounces and collides.
Updated November 2026
ExodeUI has a 2D physics engine built into the file. Mark a layer as a dynamic, static or kinematic body, set gravity, friction and restitution (bounce), and press play: things fall, stack and collide. Joints link bodies together and sensors detect overlaps, so physics can drive game logic too.
Free Community plan · Browser, macOS and Windows
- Bodies
- Dynamic, static, kinematic
- Material
- Friction, restitution, density
- Joints
- Distance, revolute
- Sensors
- Yes
How it works, step by step
- 1Turn on physics
Click the physics icon in the top toolbar to run the simulation.
- 2Make bodies
Select a layer and enable physics. Dynamic bodies move and fall; static bodies, like the floor, never move; kinematic bodies move only when you animate them.
- 3Set the material
Friction from 0 (ice) to 1 (sandpaper), restitution from 0 (no bounce) to 1 (superball), plus mass, density and air friction. Or start from a preset such as rubber or steel.
- 4Connect and detect
Add a distance or revolute joint between two bodies, or make a body a sensor to detect when something enters it.
Every control
| Control | What it does |
|---|---|
| Gravity | Set for the whole scene. |
| Body type | Dynamic, static or kinematic. |
| Friction | 0 to 1. |
| Restitution | 0 to 1, how bouncy collisions are. |
| Air friction | 0 to 1, slows bodies as they move. |
| Mass and density | How heavy a body is. |
| Lock rotation | Keep a body upright. |
| Joints | Distance (a rope or rod) and revolute (a hinge), with stiffness and damping. |
What you can make with it
Tags and icons that drop into place.
Confetti and coins that pile up.
Catch, stack and pinball games inside an app.
Pendulums and collisions for teaching.
Three good tools for this
We make ExodeUI, so weigh our pick with that in mind.
- 1
Matter.js
Best for2D physics in JavaScript code
Pick it whenYou are a developer and want a physics engine in code, with no editor.
- 2
Spline
Best for3D scenes with physics
Pick it whenYour scene is 3D and lives on a website.
- 3
ExodeUI
Best for2D physics set up visually inside UI
Pick it whenYou want to set up bodies, materials and joints visually and ship them in an app with state machines and data.
When another tool is the better fit
For a full game with levels, cameras and an asset pipeline, use a game engine. ExodeUI physics is for UI, small games and demos.
Questions
How do I make something fall and bounce?
Turn on physics, make the object a dynamic body and the floor a static body, then raise the object’s restitution to make it bounce.
What is restitution?
It is how much energy a body keeps after a collision. 0 means it stops dead; 1 means it bounces back as high as it fell.
Can I link two objects together?
Yes. A distance joint keeps them a set length apart; a revolute joint makes a hinge. Both have stiffness and damping.
Does physics run in my app?
Yes. Physics runs in the runtime, so the simulation plays in your app as it does in the editor.
More in the editor
All features →Related reading
Open the editor and try it
Free to start. Your work saves to one open .exode file that you own.