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
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Physics Damping


In order to gain a stronger grasp of Physics Damping in Unreal Engine 4, we will create a simple working example of Constraints with blueprints. To start with, let's continue our work in the Unreal_PhyProject project, navigate to Content Browser and then to the Blueprints folder, and right-click on it to create a new Actor blueprint. Let's name this blueprint BP_Constraint and double-click on it to open Blueprint Editor.

To begin this blueprint, let's navigate to the Viewport tab and then add Scene Component to the Components tab using the Add Component context sensitive drop-down menu. Name this component ROOT. Next, we will add two cube meshes from the Basic Shapes section to the Add Components menu. Name one Stable Mesh and the other Constrained Mesh. Lastly, let's add a Physics Constraint component from the Physics section and name it Physics Constraint. Now, we need to position these components in a manner that will better showcase how to use physics damping in Unreal...