Cloud Developer Advocate @Microsoft, .Net Software Engineer, AI enthusiast, lifelong learner, geek, feminist, and really just want to do all of the things.
Okay thanks for making it explicit. I guess the real issue I'm having is that I'm using stencil JS and it doesn't seem to play nice with non-default Imports
Cloud Developer Advocate @Microsoft, .Net Software Engineer, AI enthusiast, lifelong learner, geek, feminist, and really just want to do all of the things.
Because in essence you're just writing vanilla Js. It feels closer to the Raw HTML/JS specs than any framework might. But not as discombobulated as plain old HTML and js.
Also what I'm developing might not end up being VR at all. At this point I'm just kind of cobbling together resources and piecing logic together from various tutorials and documentation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm having trouble accessing CannonJSPlugin. Do I need a separate library for it? It doesn't seem apart of the babylonjs package.
Yes it is a separate package that needs to be installed.
Update the
package.json
to look like this and then runnpm install
And make sure its imported at the top of the
index.ts
as shown below:If you want to install the cannon package directly from npm vs updating the
package.json
you can also do it like thisnpm install --save cannon
Okay thanks for making it explicit. I guess the real issue I'm having is that I'm using stencil JS and it doesn't seem to play nice with non-default Imports
I'm curious now, what are you using stencil for in a web vr project?
Because in essence you're just writing vanilla Js. It feels closer to the Raw HTML/JS specs than any framework might. But not as discombobulated as plain old HTML and js.
Also what I'm developing might not end up being VR at all. At this point I'm just kind of cobbling together resources and piecing logic together from various tutorials and documentation.