Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
void PlayHapticEffect
&40;
class UHapticFeedbackEffect_Base &42; HapticEffect,
EControllerHand Hand,
float Scale,
bool bLoop
&41;
Remarks
Play a haptic feedback curve on the player's controller
Parameters
| Name | 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 |