Playmaker Forum

PlayMaker News => General Discussion => Topic started by: PolyMad on May 29, 2019, 03:27:06 PM

Title: MouseWheel?[SOLVED]
Post by: PolyMad on May 29, 2019, 03:27:06 PM
Is there any action for the Mouse Wheel available?
Title: Re: MouseWheel?
Post by: daniellogin on May 30, 2019, 12:03:24 AM
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.
Title: Re: MouseWheel?
Post by: Alex Chouls on May 30, 2019, 12:32:13 AM
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 :)
Title: Re: MouseWheel?
Post by: PolyMad on May 30, 2019, 03:53:07 AM
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
Title: Re: MouseWheel?
Post by: PolyMad on May 30, 2019, 03:54:49 AM
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
Title: Re: MouseWheel?[SOLVED]
Post by: TinkerDelight on June 06, 2019, 04:06:49 AM
Thanks for this!