I try to deactivate player input by changing variables in the struct FMovieSceneSequencePlaybackSettings. Is it that way we do to change the default settings Struct or to deactivate control while cinematic play? I got no error but the control are still activated when cinematic play in game.
ALevelSequenceActor* OutActor = nullptr;
FMovieSceneSequencePlaybackSettings Settings;
Settings.bDisableLookAtInput = true;
Settings.bDisableMovementInput = true;
SequencePlayer = ULevelSequencePlayer::CreateLevelSequencePlayer(GetWorld(), SequenceAsset, Settings, OutActor);
//Sequence Play
if (SequencePlayer)
{
SequencePlayer->Play();
}
Thank you!