Skip to content

Commit d59dcf6

Browse files
committed
Update links to cannon-es
1 parent 87a4e4a commit d59dcf6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎CannonDriver.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cannon Driver
22

3-
[CANNON.js](https://schteppe.github.io/cannon.js/) is a native JavaScript physics library, which is one of the available choices of driver in aframe-physics-system
3+
[CANNON.js](https://pmndrs.github.io/cannon-es/) is a native JavaScript physics library, which is one of the available choices of driver in aframe-physics-system
44

55
This page describes how to use aframe-physics-system with the Cannon Driver
66

@@ -204,7 +204,7 @@ Example:
204204

205205
## Using the CANNON.js API
206206

207-
For more advanced physics, use the CANNON.js API with custom JavaScript and A-Frame components. The [CANNON.js documentation](https://schteppe.github.io/cannon.js/docs/) and source code offer good resources for learning to work with physics in JavaScript.
207+
For more advanced physics, use the CANNON.js API with custom JavaScript and A-Frame components. The [CANNON.js documentation](https://pmndrs.github.io/cannon-es/docs/index.html) and source code offer good resources for learning to work with physics in JavaScript.
208208

209209
In A-Frame, each entity's `CANNON.Body` instance is exposed on the `el.body` property. To apply a quick push to an object, you might do the following:
210210

@@ -291,9 +291,9 @@ More advanced configuration, including specifying different collision behaviors
291291

292292
Resources:
293293

294-
* [CANNON.World](https://schteppe.github.io/cannon.js/docs/classes/World.html)
294+
* [CANNON.World](https://pmndrs.github.io/cannon-es/docs/classes/World.html)
295295

296-
* [CANNON.ContactMaterial](https://schteppe.github.io/cannon.js/docs/classes/ContactMaterial.html)
296+
* [CANNON.ContactMaterial](https://pmndrs.github.io/cannon-es/docs/classes/ContactMaterial.html)
297297

298298

299299
## Statistics

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A C-Frame fork, collectively maintained by the A-Frame community. Also see [the
99
-->
1010
Components for A-Frame physics integration.
1111

12-
Supports [CANNON.js](https://schteppe.github.io/cannon.js/) and [Ammo.js](https://github.com/kripken/ammo.js/). See
12+
Supports [CANNON.js](https://pmndrs.github.io/cannon-es/) and [Ammo.js](https://github.com/kripken/ammo.js/). See
1313
[examples](https://c-frame.github.io/aframe-physics-system/examples/).
1414

1515
## Contents

0 commit comments

Comments
 (0)