playMaker

Author Topic: MouseWheel?[SOLVED]  (Read 254 times)

megmaltese

  • Sr. Member
  • ****
  • Posts: 351
    • View Profile
MouseWheel?[SOLVED]
« on: May 29, 2019, 12:27:06 PM »
Is there any action for the Mouse Wheel available?
« Last Edit: June 05, 2019, 12:20:40 AM by jeanfabre »

daniellogin

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Re: MouseWheel?
« Reply #1 on: May 29, 2019, 09:03:24 PM »
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.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3627
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: MouseWheel?
« Reply #2 on: May 29, 2019, 09:32:13 PM »
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 :)

megmaltese

  • Sr. Member
  • ****
  • Posts: 351
    • View Profile
Re: MouseWheel?
« Reply #3 on: May 30, 2019, 12: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

megmaltese

  • Sr. Member
  • ****
  • Posts: 351
    • View Profile
Re: MouseWheel?
« Reply #4 on: May 30, 2019, 12: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

TinkerDelight

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: MouseWheel?[SOLVED]
« Reply #5 on: June 06, 2019, 01:06:49 AM »
Thanks for this!