Playmaker Forum

Playmaker Updates & Downloads => Share New Actions => Topic started by: MABManZ on September 10, 2015, 10:59:02 PM

Title: XInput Rumble
Post by: MABManZ on September 10, 2015, 10:59:02 PM
Could not find much documentation online for getting proper rumble functioning in Unity (even without Playmaker), so decided to tinker around with the XInput example scene.

I was able to make an XInput Rumble action that doesn't rely on a 3rd party input system such as InControl or ReWired.

- Controls left motor (low frequency) and right motor (high frequency) independently
- Option to disable rumble w/ a bool
- Set to only activate on Windows platform to prevent fsm's hanging/crashing on the unsupported library

Requires XInputDotNetPure.dll and XInputInterface.dll in the project (also attached) You can also download from their GitHub Releases (https://github.com/speps/XInputDotNet)