Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include |
#include "GameFramework/PlayerController.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
void PlayHapticEffect
(
class UHapticFeedbackEffect_Base * HapticEffect,
EControllerHand Hand,
float Scale,
bool bLoop
)
Play a haptic feedback curve on the player's controller
Parameter |
Description |
---|---|
HapticEffect |
The haptic effect to play |
Hand |
Which hand to play the effect on |
Scale |
Scale between 0.0 and 1.0 on the intensity of playback |