Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual joystick node from bundled code #2837

Open
Armory-Community-Channel opened this issue Mar 25, 2023 · 4 comments
Open

Virtual joystick node from bundled code #2837

Armory-Community-Channel opened this issue Mar 25, 2023 · 4 comments
Labels
feature request This issue requests a feature logic nodes This issue is about logic nodes

Comments

@Armory-Community-Channel

Armory 3D really needs a joystick node based on the bundled script that would let users make there own virtual joystick and control the location/ size... Here is the edited code for a single joystick. https://forums.armory3d.org/t/solved-virtual-gamepad-haxe-script-update/4694/4?u=armory_3d_community
g

@Armory-Community-Channel Armory-Community-Channel added the feature request This issue requests a feature label Mar 25, 2023
@Armory-Community-Channel
Copy link
Author

Already possible but need multitouch to make it usable
CustomJoyStick2.zip

@MoritzBrueckner MoritzBrueckner added the logic nodes This issue is about logic nodes label Mar 31, 2023
@MoritzBrueckner
Copy link
Collaborator

MoritzBrueckner commented Mar 31, 2023

Hi, I'm not sure I can follow. What exactly would be the advantage of a logic node with the trait's functionality over the bundled trait? Both the bundled trait and the logic node would practially do the same, but you can transform the bundled trait into a Haxe trait that is "local" to your game with one click which is something you can't do for logic nodes unless you create a library.

Is this issue about adding more customization options to the bundled trait instead?

@rpaladin
Copy link
Contributor

rpaladin commented Mar 31, 2023

Perhaps so that logic node users can customize and control the behavior of the bundled script?

If that's is the case, a logic node called something like Set Bundled Trait Properties would be more logical, I think.

Or even better, expand the existing Set Object Property node to recognize Bundled Trait Properties.

@MoritzBrueckner
Copy link
Collaborator

If that's is the case, a logic node called something like Set Bundled Trait Properties would be more logical, I think.

I agree, just for trait properties in general (independent of the trait type). Whether updating the value will change anything is a matter of the trait implementation though, some properties might only be used during initialization for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This issue requests a feature logic nodes This issue is about logic nodes
Projects
None yet
Development

No branches or pull requests

3 participants