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.

Setup a virtual joystick

Home Forums Programming Setup a virtual joystick

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38500
    nadaska
    Participant

    hi
    i want to embed a virtual HTML5 joystick. The structure looks like this:

    Verge3D Object is embedded via iframe. The controller is embedded as an external Java script. Controller and Controller values ​​can be displayed, but I have no idea how to get this value into the puzzles to control objects. I attached the HTML code and my previous puzzle attempts .. does anyone have an idea?

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

    Hi,

    right, you can use either of the methods you pictured. Doesn’t it work? Can you print to console the values that are output, to confirm those are actually the numbers you expect?

    Chief 3D Verger | LinkedIn | Twitter

    #38608
    nadaska
    Participant

    Hi Yuri,
    thank you for your commitment!

    After hours of try and error i found the solution.. the values were defined as “text”.. the puzzle: “convert to number” did the trick. :yahoo:

    #38612

    Glad you worked it out! :good: :good: :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.