APlayerController::K2_ClientPlayForceFeedback

Play a force feedback pattern 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"

Syntax

void K2_ClientPlayForceFeedback
(
    class UForceFeedbackEffect * ForceFeedbackEffect,
    FName Tag,
    bool bLooping,
    bool bIgnoreTimeDilation,
    bool bPlayWhilePaused
)

Remarks

Play a force feedback pattern on the player's controller

Parameters

Parameter

Description

ForceFeedbackEffect

The force feedback pattern to play

bLooping

Whether the pattern should be played repeatedly or be a single one shot

bIgnoreTimeDilation

Whether the pattern should ignore time dilation

bPlayWhilePaused

Whether the pattern should continue to play while the game is paused

Tag

A tag that allows stopping of an effect. If another effect with this Tag is playing, it will be stopped and replaced

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