Playmaker Forum
PlayMaker News => General Discussion => Topic started by: PolyMad on May 29, 2019, 03:27:06 PM
-
Is there any action for the Mouse Wheel available?
-
Is there any action for the Mouse Wheel available?
It's all about mapping. I don't think the default actions in PM have the mouse wheel, but what you probably will need down the line anyway is something like In Control, or some other extension that maps out more buttons and all devices. For example, I use In Control and it means all the Xbox controller buttons and sticks are mapped out in a way I couldn't get to work with just Playmaker alone.
Another one you can check is called Rewired, but you should also find more Recommended products show in the Unity Asset Store when you click on one of these two.
Maybe you will have to go through their docs or write a message on their forum or something to check they cover the mouse wheel specifically, and also make sure there are actions out there for the asset. I know In Control does have Playmaker actions.
-
You can use the Get Axis action with the axis "Mouse ScrollWheel"
https://hutonggames.fogbugz.com/f/page?W192
See the Input Manager for more details:
https://docs.unity3d.com/Manual/class-InputManager.html
The built-in Unity Input Manager is fairly basic though, so you might want to also look into In Control or other input managers on the asset store as daniellogin suggested :)
-
You can use the Get Axis action with the axis "Mouse ScrollWheel"
https://hutonggames.fogbugz.com/f/page?W192
See the Input Manager for more details:
https://docs.unity3d.com/Manual/class-InputManager.html
The built-in Unity Input Manager is fairly basic though, so you might want to also look into In Control or other input managers on the asset store as daniellogin suggested :)
Thank you, I had already found it a bit later and already realized the FSM! :D
-
Is there any action for the Mouse Wheel available?
It's all about mapping. I don't think the default actions in PM have the mouse wheel, but what you probably will need down the line anyway is something like In Control, or some other extension that maps out more buttons and all devices. For example, I use In Control and it means all the Xbox controller buttons and sticks are mapped out in a way I couldn't get to work with just Playmaker alone.
Another one you can check is called Rewired, but you should also find more Recommended products show in the Unity Asset Store when you click on one of these two.
Maybe you will have to go through their docs or write a message on their forum or something to check they cover the mouse wheel specifically, and also make sure there are actions out there for the asset. I know In Control does have Playmaker actions.
Thank you! There's actually the AXIS action that can take care of some controls :D
-
Thanks for this!