Hi everyone, Hi Playcanvas-Team!
I’m working on a bigger Playcanvas Scene and trying to make it work inside a DIV because of the requirements of the CMS of the client according to this engine patch. This works well so far.
My problem: the URI of my JSON files and the assets are dynamic and not static so I need to assign then at runtime.
Example for settings.js: How to change
CONFIG_FILENAME = "/images/config.json"; dynamically at runtime to something like
CONFIG_FILENAME = "www8/462638/14/images/config.json";?
I think there are around 40 URIs in the scripts and JSON files that need to be updated at runtime.
Thanks a lot