Preventing a player from moving via cinematic mode

Now that we know how to create Matinees, we should be able to create amazing cinematics that make your levels really come alive! However, by default, when you play a cinematic, the player can still move around and turn. This may be the desired behavior depending on whether you're using something like a custom camera system, such as Resident Evil, or the Matinee for moving objects such as moving platforms. But, for a cinematic, we don't want it. Thankfully, there is a way to prevent this via Blueprints.

Getting ready

Before we start working, you should have a level opened and have a complete Matinee. You should also have it playing in the actual game. For assistance with this, check out the Playing ...

Get Unreal Engine: Game Development from A to Z now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.