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 complex and custom collision hulls


When it comes to creating complex collision in the Static Mesh editor, we can use the Auto Convex Collision tool to customize the number of hulls and hull vertices that the collision mesh will have. For the purposes of this section, we will need to continue using Unreal_PhyProject that we created, and we will use the SM_Lamp_Wall asset as an example of how to generate custom and complex collision hulls. To navigate to this asset, we need to go to Content Browser and then to the Starter Content folder. Now, under props, we will find the SM_Lamp_Wall asset. Double-click on this asset to open the Static Mesh editor. If this static mesh has any default collisions applied to it, make sure to remove the said collision by navigating to the Collision drop-down menu and selecting remove collision. Make sure that the Collision Toggle option is set to on so that we can view the collision mesh in the Static Mesh editor.

For this asset, we will use the Auto...