Closed edhyah closed 2 years ago
I’ve never actually tried it in a bundle before it is designed to work with es6 modules, and to load the model files themselves as normal files
Ah I got it to work! Essentially just had to load them via a URL and not a path, ie. loadPose('relax', 'http://localhost:3000/' + relaxHandPose)
. Thanks for the quick response!
Precisely!
Hello!
Newb question. Calling
loadPose
results in me getting aTypeError: Failed to construct 'URL': Invalid URL
error. I've tried passing in absolute paths, relative paths and so forth - none of them seem to be working. I use webpack and have confirmed that the pose files have been copied over to the bundle.What am I doing wrong? Thanks!