Book Image

Unreal Engine Physics Essentials

By : Devin Sherry, Vladimir Alyamkin, Katax Emperore
Book Image

Unreal Engine Physics Essentials

By: Devin Sherry, Vladimir Alyamkin, 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
About the Authors
About the Reviewer

Editing the Vehicle Blueprints

With the vehicle blueprints created, let's now move on and edit the properties of these blueprints in order to obtain the behaviors we want for our vehicle. We will begin by working with the BP_VehicleAnimation blueprint by double-clicking on our Content Browser and opening its Anim Graph; which opens by default. The first node we will create is the Mesh Space Ref Pose node, and this is used to return the mesh space reference pose for our skeletal mesh in the Animation Blueprint. To create this node, right-click on an area of the Anim Graph that is empty. Now, from the context menu, we will search for the Mesh Space Ref Pose node:

Next, we will need a Wheel Handler node. This is used to alter the wheel transformation based on the setup in the Wheeled Vehicle blueprint; keep in mind that this will only work when the owner is of the Wheeled Vehicle class. The Wheel Handler node also handles the animation needs of our wheels, such as the spinning, the steering...