To help demonstrate the features and capabilities of aframe-physics-system
the following collection of examples have been prepared.
Examples marked “Broken” do not currently function as expected, due to open bugs. Examples marked “Limited” have limitations in terms of what function can be exercised (e.g. due to constraints on mouse interaction, or limitations with particular driver implementations)
Example | Cannon | Cannon Worker | Ammo |
---|---|---|---|
Demonstration of many features in a single example. | OK | Broken | OK |
Construct a compound shape and simulate collision with a ground plane. | OK | Broken | OK |
Demonstration of many constraints including cone twist, hinge, lock, point to point, slider (Ammo only) and distance (Cannon only) constraints. | OK | Broken | OK |
Bounce simulation with restitution (bounciness) of 1. | OK | Limited | OK |
Four vertical springs each between two boxes with an assortment of damping and stiffness values | OK | OK | Limited |
Apply strong impulse to a cube when the user clicks with a mouse. Cubes are arranged in four 4x3 walls. | OK | Limited | OK |
Animate a long wall moving along the z-axis along the initial view direction. | OK | Broken | OK |
Remove a dynamic body from the scene after 100 frames | OK | Broken | OK |
Performance test: 100 balls rolling down a peg board, with timing data from physics engine. | OK | Broken | OK |