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" |
UFUNCTION (BlueprintCallable, Category="Game|Feedback")
void PlayHapticEffect
(
class UHapticFeedbackEffect_Base * HapticEffect,
EControllerHand Hand,
float Scale,
bool bLoop
)
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 |