⬡PipelineRobotics & ControlFree
PyBullet / Bullet3
Real-time physics simulation for robotics and game AI using the Bullet physics engine with Python bindings.
PyBullet / Bullet3
Bullet3 is a professional open-source collision detection and rigid-body/soft-body physics simulation library, and PyBullet is its Python API for robot simulation and reinforcement learning. Used extensively in robotics research before MuJoCo went free, it remains popular for its broad feature set and zero-cost commercial use.
Key Features
- Rigid body and soft body simulation with constraints, motors, and joints
- URDF, MJCF, and SDF model loading — drop in existing robot descriptions
- Built-in OpenGL visualiser with GUI controls and debug drawing
- VR support (HTC Vive, Oculus Rift) and physics server/client architecture
- GPU-accelerated massively parallel simulation via the TinyRenderer backend
Quick Start
pip install pybullet
import pybullet as p
import time
physicsClient = p.connect(p.GUI)
p.setGravity(0, 0, -10)
planeId = p.loadURDF("plane.urdf")
botId = p.loadURDF("r2d2.urdf", [0, 0, 1])
for _ in range(10000):
p.stepSimulation()
time.sleep(1./240.)
p.disconnect()
npx ai-supply add pybullet-physics-simulation
Curated mirror of the open-source Bullet3 (Zlib). Get it from the source.