# Does anyone know how to incorporate third party physics libraries to Phaser 3

**URL:** <https://phaser.discourse.group/t/does-anyone-know-how-to-incorporate-third-party-physics-libraries-to-phaser-3/5481>\
**Category:** Phaser 3\
**Created:** [March 12, 2020, 11:47am UTC](https://phaser.discourse.group/t/does-anyone-know-how-to-incorporate-third-party-physics-libraries-to-phaser-3/5481 "2020-03-12T11:47:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![123survesh](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/123survesh/32/2274_2.png) [@123survesh](https://phaser.discourse.group/u/123survesh)\
**Post date:** [March 12, 2020, 11:47am UTC](https://phaser.discourse.group/t/does-anyone-know-how-to-incorporate-third-party-physics-libraries-to-phaser-3/5481/1 "2020-03-12T11:47:49Z")

</div>

Hi,  
I want to use [Chipmunk.js](https://github.com/josephg/Chipmunk-js) with phaser 3. I have used Chipmunk js before with pixi.js. There I ran all the game code by moving physics bodies and rendered their corresponding sprites in every update cycle with pixi js.

I saw that Phaser 3 can use more than just one type of Physics library. (Arcade and Matter Physics are written inside Phaser Physics and Impact Physics library is used as a plugin).

I couldn’t understand how to integrate chipmunk.js code seamlessly with Phaser 3 as the other libraries have been integrated. Does anyone know how to integrate third party physics library like this to Phaser 3? Tips and Directions as to how to do so will be helpfull. Thanks.

---

<div class="post-metadata">

**Author:** ![snowbillr](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/snowbillr/32/332_2.png) [@snowbillr](https://phaser.discourse.group/u/snowbillr)\
**Post date:** [March 12, 2020, 6:15pm UTC](https://phaser.discourse.group/t/does-anyone-know-how-to-incorporate-third-party-physics-libraries-to-phaser-3/5481/2 "2020-03-12T18:15:08Z")

</div>

I’ve not done it, but here’s an article/tutorial/code sample that uses Planck.js with Phaser 3 - [https://www.emanueleferonato.com/2019/10/12/use-box2d-physics-in-your-phaser-3-projects-with-planck-js-javascript-physics-engine/](https://www.emanueleferonato.com/2019/10/12/use-box2d-physics-in-your-phaser-3-projects-with-planck-js-javascript-physics-engine/)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 12, 2020, 8:06pm UTC](https://phaser.discourse.group/t/does-anyone-know-how-to-incorporate-third-party-physics-libraries-to-phaser-3/5481/3 "2020-03-12T20:06:59Z")

</div>

Probably you need to create a scene plugin, like ArcadePhysics.
