Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: Dev_Sebas on December 10, 2011, 08:23:30 PM

Title: Change Mouse Sensitivity
Post by: Dev_Sebas on December 10, 2011, 08:23:30 PM
Change Mouse Sensitivity will be great
Bye
Title: Re: Change Mouse Sensitivity
Post by: Alex Chouls on December 13, 2011, 01:16:46 PM
You can change the mouse sensitivity in the Unity Input Manager.

Unfortunately the Unity Input manager isn't exposed to scripting. You can vote for it here:
http://feedback.unity3d.com/forums/15792-unity/suggestions/175032-scripting-expose-input-manager-settings?ref=title

Or are there specific actions that you'd like to see a sensitivity parameter added to?


Title: Re: Change Mouse Sensitivity
Post by: Dev_Sebas on December 14, 2011, 09:04:07 AM
I just want a action for PlayMaker to change my sensitivity.
Bye
Title: Re: Change Mouse Sensitivity
Post by: jeanfabre on December 15, 2011, 01:54:03 AM
Hi,

What exactly are you using right now for your mouse input?

 If you use the action: GetAxis, the multiplier is perfect to adjust the sensitivity.

add GetAxis to your state and type "Mouse X" or "Mouse Y" and adjust the multiplier value until you reach a satisfactory result.

 Example, take the raycast example I sent on that other thread:

thread:http://hutonggames.com/playmakerforum/index.php?topic=725.msg3782#msg3782 (http://hutonggames.com/playmakerforum/index.php?topic=725.msg3782#msg3782)
package: http://dl.dropbox.com/u/17356625/Unity/projects/misc/raycast.unitypackage (http://dl.dropbox.com/u/17356625/Unity/projects/misc/raycast.unitypackage)

1: Select the "laser" GameObject
2: Select the "rotate gun" Fsm
3: in that state, replace both GetAxis "axis name" by "Mouse X" and "Mouse Y"
4: play the scene
5: see how the mouse control now the laser
6: while playing, change the multiplier of them getAxis and see how faster or slower it gets. This is your sensitivity setting

Hope it helps,

Bye,

 Jean
Title: Re: Change Mouse Sensitivity
Post by: Dev_Sebas on December 15, 2011, 04:44:39 PM
HUAH thank you Jean ;D :)very nice
Bye