Can’t switch joysticks (Change weapon)
-
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? -
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. -

-
@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.
-
@RobinsonX The disable function works. But I cannot activate the new joystick. Enable and execute do not work on the new joystick
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