Book Image

Unreal Engine Physics Essentials

By : Devin Sherry, Katax Emperore
Book Image

Unreal Engine Physics Essentials

By: Devin Sherry, Katax Emperore

Overview of this book

This book gives readers practical insight into the mathematical and physics principles necessary to properly implement physics within Unreal Engine 4. Discover how to manipulate physics within Unreal Engine 4 by learning basic real-world mathematical and physics concepts that assist in the implementation of physics-based objects in your game world. Then, you'll be introduced to PhAT (Physics Asset Tool) within Unreal Engine 4 to learn more about developing game physics objects for your game world. Next, dive into Unreal Engine 4’s collision generation, physical materials, blueprints, constraints, and more to get hands-on experience with the tools provided by Epic to create real-world physics in Unreal Engine 4. Lastly, you will create a working Vehicle Blueprint that uses all the concepts covered in this book, as well as covering advanced physics-based topics.
Table of Contents (15 chapters)
Unreal Engine Physics Essentials
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Creating the Vehicle Blueprints


To create a new Vehicle Blueprint, let's first navigate to our VehicleContent folder in Content Browser and then right-click on an area that is empty. From the context drop-menu, we will select the Blueprint Class option, click on the drop-down All Classes menu, search for the WheeledVehicle Pawn class, and name this blueprint BP_NewVehicle.

The WheeledVehicle Pawn blueprint contains an inherited component called VehicleMovement. This component allows you to have more control over the wheels and the overall behavior for the vehicle.

Next, we will need to create two different types of Wheel Blueprints for our vehicle (one for the front wheels and one for the back wheels). To get this going, let's navigate to the VehicleContent folder in Content Browser, right-click on an area of Content Browser that is empty, and select the Blueprint Class option. Now, in the context sensitive drop-down menu, enter Vehicle Wheel to locate the VehicleWheel Blueprint Object class...