Straight road 3D environment
The Straight Road scene is a 3D environment of a straight four-lane divided highway. The scene is rendered using the Unreal Engine® from Epic Games®.
To simulate a driving maneuver in this scene:
Add a Simulation 3D Scene Configuration block to your Simulink® model.
In this block, set the Scene source parameter to
Set the enabled Scene name parameter to
The scene uses the world coordinate system to locate objects.
The active area of the scene contains the road.
This table provides the scene area corner locations in the world coordinate system. Dimensions are in m.
Scene — Top left
Scene — Bottom right
Active area — Bottom left
This table provides the recommended starting location for the vehicle in the world coordinate system. Dimensions are in m and deg.
Recommended Starting Location
This figure and table provides the lane dimensions, in m.
The 3D visualization environment uses a world coordinate system with axes that are fixed in the inertial reference frame.
Forward direction of the vehicle
Roll — Right-handed rotation about X-axis
Extends to the right of the vehicle, parallel to the ground plane
Pitch — Right-handed rotation about Y-axis
Yaw — Left-handed rotation about Z-axis
If you have the Vehicle Dynamics Blockset™ Interface for Unreal Engine 4 Projects
support package, then you can modify this scene. In the
Unreal Engine project file that comes with the support package, this scene is named
For more details on customizing scenes, see Customize 3D Scenes for Vehicle Dynamics Simulations.