We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Add Physics Module, Existing Project?

Home Forums General Questions Add Physics Module, Existing Project?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43166
    jdhutchinson
    Customer

    Hi, I see we add physics module typically at the start of a project. How I can do this after already starting the project?

    Attachments:
    You must be logged in to view attached files.
    #43177

    Hi,

    you can add it manually by linking the physics JS module in the header of the .html file

    Chief 3D Verger | LinkedIn | Twitter

    #43235
    jdhutchinson
    Customer

    Thank you Yuri!

    Like the below?:
    <link rel=”physics?” type=”type?” href=”myawesomephysics.”>

    What are the exact credentials / link for this?

    #43255
    jdhutchinson
    Customer

    I am thinking that I need to copy physics.js from another project, such as the Physics app example, and then link to it like below?

    <script src=”physics.js”></script>

    #43387
    jdhutchinson
    Customer

    Hi Yuri, I’m having some problems with physics so far. I even copied all puzzles of the flag in the example ‘Physics’ project, but I’m getting unexpected results.

    The instructions before didn’t work so well for me either – adding in the script into the html made puzzles really weird – in fact for a time I got a blank grey screen which was really worrying. I had to use a backup. I also wasn’t sure if I need to add the WASM file too?

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.