Examples
Headless Mode (Ammo Physics on Node.js Server)
As Physics Extension for three.js
- Native three.js with Physics
- Compare Physics Body Shapes
- GLTFLoader with Physics
- VHACD Shape with WebWorker NEW
- Point to Point Constraint
- Hollow Cylinder
- Convex Objects Breaking
- Carousel
- Create and Destroy Objects and Physics
Standalone Mode
- Standalone Mode
- Resize Window
- Texture on a Plane
- Texture Cube
- Work with Objects Factory
- Objects Recycling
- Use tween.js
- Project Options and Multiple Scenes
- GLTF Loader and Animations
- Simplify Physics Mesh
- Compound HACD Shape (Tank) NEW
- Types of Constraints
- Slider Constraints
- Play with Physics Bodies
- Teleport a Dynamic Body
- Per Body Gravity
- Physics Raycaster
- Medieval Fantasy Book
- Lights
- Spotlight
- Slope Angle and Moving Platform
- Virtual Reality
- Railway (with CSG and HACD Body)
- Railway (with Constraints and Convex Body)
- Railway (with Compound Body)
- Post-Processing
- CollisionGroup and CollisionMask
- SoftBody Cloth
- Car (Raycast Vehicle)
- Car (Physics Constraints)
- Pick up Objects (with Robot Hand)
2D Elements (Experimental)
These 2D elements are and still in development.
They are rendered by three.js and
do not need any other 3rd party framework
like Phaser, PixiJS or Two.js.
As 3D Extension for Phaser
- Simple Setup
- Custom Setup
- Sync 2D to 3D
- Sync 3D to 2D
- Isometric Game / Orthographic Camera
- Jenga Game
- Collision Detection
- Load and Use Textures
- GLTF Loader and Animations with Timescale (Drone)
- FBX Loader and Animations
- FBX Loader and Animations (with Hitbox)
- Shape Showcase
- Material Showcase
- Enemy Patrols on Platform
- Constructive Solid Geometry (CSG)
- Constructive Solid Geometry (CSG) with Physics
- Constructive Solid Geometry (CSG) with Physics & Breakable
- Debug Bodies
- Dash and Blast Prototype
- Kinematic Body Orbiting around Sun
- Create 3D Geometry from 2D Path
- Create 3D Geometry from SVG file
- Create 3D Geometry from PNG file (heightmap)
- Camera Lerping and Player Controls
- 3rd Person Camera
- Virtual Reality (with Phaser)
- Convex Objects Breaking
- Use "native" three.js code
- Heightmap with Color Scale
- Water
- Medieval Fantasy Book
- First Person Shooter
- First Phaser Game (3d version)
- Wrecking Ball with Metal Chain
- Adjust GammaFactor and Shadows at Runtime
- Change Material of 3d Model
- Tween Manager
- Switch Camera between 2d and 3d