1.4 - Matinee Cinematic

An overview of the Level Scripting example level, example 1.4: Matinee cinematic used to animate actors

On this page


In this example, when the player walks through the door and touches a trigger box, a Matinee cinematic interrupts gameplay and animates various Actors. The Matinee sequence also includes an event track which, when triggered, starts a Timeline in the level script that continuously rotates the Directional Light in the level. When used with an Atmospheric Fog Actor, this gives the effect of the sun passing overhead, simulating a simple day-night cycle.

Level Script

Click for full size or right-click and Save As.

Cinematic mode: When selecting the Matinee Actor in the level, a number of properties are exposed. Because this Matinee is an example of an in-game cinematic, the cinematic mode options Block Movement Input, Disable Look at Input, and Hide Player are enabled, so that the player cannot move and is invisible while the Matinee is playing.

Atmospheric fog: The level script is typically the place where you would control or animate environmental effects, such as sun movement, fog, lightning flashes, and so on. In this case, an Atmospheric Fog Actor is used in conjunction with the Directional Light to create a very basic day/night cycle. The timeline in the level script rotates the Directional Light while changing its color, and the Atmospheric Fog Actor automatically adjusts the fog color and the sun disc's location according to the direction the Directional Light is facing.

Select Skin

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback