Start a new topic

Relative path problem, how to ...

Relative path problem, how to ...

Hello I have problem pointing a file.

Here's my problem

Here's my folders :

 !   L script
 !          L Radar.jsl
 L Resources
       L images
              L testImage.png

In the Radar.jsl script, I want to access the images file.

I tried "/Resources/images/testImage.png' or "../Resources/images/testImage.png'

But this not work

Any solution ? Thanks



The path should be relative to the HTML file containing your AR world.

So, if the html file is on the root directory, you can use "Resources/images/testImage.png" as path.
Login or Signup to post a comment