Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: daniellogin on August 16, 2019, 12:32:08 PM

Title: Need help with an action for InControl's hepatic
Post by: daniellogin on August 16, 2019, 12:32:08 PM
Can anyone please help me make an action for the asset InControl, to just do their hepatic feedback function? I have actions for the other control parts, but do not have an action to make the controller vibrate.

I asked about it on their Unity forum and they said:

Quote
Look for the Vibrate and StopVibration methods on InputDevice: http://www.gallantgames.com/incontrol-api/html/class_in_control_1_1_input_device.html (http://www.gallantgames.com/incontrol-api/html/class_in_control_1_1_input_device.html)

It's basically:
void Vibrate( float leftMotor, float rightMotor )
void Vibrate( float intensity ) // which just calls Vibrate( intensity, intensity );
void StopVibration()

I can't code a single line myself so yeah... if anyone is bored or something.. maybe you can rig this up for me? I'd really appreciate it.