mirror of
https://github.com/liabru/matter-js.git
synced 2025-01-21 17:14:38 -05:00
Updated Getting started (markdown)
parent
d50205befd
commit
e69ae91504
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ World.add(engine.world, [boxA, boxB, ground]);
|
|||
Engine.run(engine);
|
||||
```
|
||||
|
||||
Include the above script into a page that has Matter.js installed and then open the page in your browser.
|
||||
Include the above script into a page that has Matter.js installed and then open the page in your browser. Make sure the script is at the bottom of the page (or otherwise called after DOM is ready).
|
||||
|
||||
Hopefully you will see two rectangle bodies fall and then hit each other as they land on the ground.
|
||||
If you don't, check the browser console to see if there are any errors.
|
||||
|
|
Loading…
Add table
Reference in a new issue