playMaker

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

PolyMad

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

daniellogin

  • Full Member
  • ***
  • Posts: 215
Re: MouseWheel?
« Reply #1 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.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: MouseWheel?
« Reply #2 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 :)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: MouseWheel?
« Reply #3 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

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: MouseWheel?
« Reply #4 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

TinkerDelight

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