hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Can’t switch joysticks (Change weapon)

    Scheduled Pinned Locked Moved Help and Support
    5 Posts 3 Posters 46 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MrAeon1111M Away
      MrAeon1111
      last edited by

      Hello,
      I’m trying to switch joysticks
      The same logic works perfectly well with the shoot button, but when it comes to the joystick. It doesn’t work.
      Any idea what I’m doing wrong?

      link text

      1 Reply Last reply Reply Quote 0
      • MurtazaM Offline
        Murtaza Admin
        last edited by

        Can you share your project? It's possible that some of your behaviours are not executing in the correct order.
        @robinsonx do you have any suggestions? I'm sure you've created such a system before.

        1 Reply Last reply Reply Quote 0
        • MrAeon1111M Away
          MrAeon1111
          last edited by

          alt text

          RobinsonXR 1 Reply Last reply Reply Quote 1
          • RobinsonXR Offline
            RobinsonX @MrAeon1111
            last edited by

            @MrAeon1111 I am assuming that disabling a Joystick Controlled behavior has no effect? That sounds like a bug - I'll look deeper into it when I get the opportunity.

            Alternatively, you could use the Joystick Analog behavior to code the exact behavior you want. It takes more work, but it is doable. The behavior executes repeatedly while holding the joystick - the idea is that you can enable/disable logic under the behavior whenever you want. So there can be a Set Velocity behavior that moves one object, and another one that moves another object. You can disable/enable those to change which object the joystick is controlling.

            MrAeon1111M 1 Reply Last reply Reply Quote 0
            • MrAeon1111M Away
              MrAeon1111 @RobinsonX
              last edited by

              @RobinsonX The disable function works. But I cannot activate the new joystick. Enable and execute do not work on the new joystick

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post