APlayerController::GetInputMotionState

Retrieves the current motion state of the player's input device

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 GetInputMotionState
(
    FVector & Tilt,
    FVector & RotationRate,
    FVector & Gravity,
    FVector & Acceleration
) const

Remarks

Retrieves the current motion state of the player's input device

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