[SOLVED] Add p2 in online editor?

How to add p2 in online editor ? It says p2 is not defined.

Hi @mortal_phoenix,

Here, check the README on the playcanvas-p2.js repo, it has detailed instructions on how to add it to a project:

2 Likes

Thanks. I will give it a try…

1 Like