APlayerController::PlayHapticEffect

Play a haptic feedback curve on the player's controller

Windows
MacOS
Linux

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

Syntax

void PlayHapticEffect
(
    class UHapticFeedbackEffect_Base * HapticEffect,
    EControllerHand Hand,
    float Scale,
    bool bLoop
)

Remarks

Play a haptic feedback curve on the player's controller

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss