6 - Setting up a New Game Mode

In this step, you'll setup a new Game Mode to spawn our Vehicle.


In the previous step, you finished setting up our Vehicle Blueprint and assigned all of the controls that you need to make it work properly. In this last step, you'll finish by setting up a new Game Mode that uses your own Vehicle Blueprint as the Default Pawn for the game.

If you did not use a Blank Project Template when starting this guide you may find that you already have a Game Mode assigned that conflicts with the one you'll create in this step. Use the steps below to create a new Game Mode so that you can spawn in the vehicle you've created throughout this guide.

Creating a New Game Mode

  1. In the Content Browser, click the Add New button and select Blueprint Class from the menu list.

  2. In the Pick Parent Class window, select Game Mode Base, and then click the Select button to create the Game Mode Blueprint.


  3. In the Content Browser, double-click to open the new Game Mode Blueprint so that you can edit it. In the Details under Classes, next to Default Pawn Class, use the drop-down selection to choose Your Vehicle Blueprint (which you created in Step 3).


    Aftering doing this, you can click Save and then Close this window.

  4. In the Main Viewport window, in the World Settings tab under the Game Mode section, set GameMode Override to Your Game Mode Blueprint.


End Result


Congratulations! Now, when you Play in Editor (PIE) you should automatically spawn in with your very own vehicle that you created. You've learned everything you need to create your own working vehicles in UE4. As you worked your way through this guide, you learned:

✓ How to configure a TireConfig Data Asset.
✓ How to configure a Wheel Blueprint for your Font and Rear wheels.
✓ How to setup an Animation Blueprint specifically for a Vehicle.
✓ How to configure your Vehicle Blueprint with your Skeletal Mesh, Animation Blueprint, and Wheel Blueprint(s).
✓ How to configure your Axis Mappings and Bindings to control your Vehicle.
✓ How to create and assign a new Game Mode to spawn your vehicle.

Getting Started with Vehicle in Unreal Engine

For additional resources with Vehicles you can take a look at the following pages:

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