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

Custom object and trace channel responses


Sometimes, the default object and trace channel responses are not enough for what we want to do in our games. So, it may be necessary to create customized object and trace channel responses for certain assets and scenarios. To accomplish this, we can navigate to the Edit drop-down window at the top of the Unreal Engine 4 editor and select Project Settings. From here, select the Collision option under the Engine section. Here, we can create custom Objects, Trace Channels, and Presets that we can use when we apply collisions to our assets.

Let's start with creating a new Object Channel by selecting this option and clicking on the New Object Channel button. Here, a dialogue window pops up. Then, we can customize how Object Channel responds by default.

Name the Object Channel Projectile, and set its Default Response to Block. Now, let's create a custom Collision Preset by selecting this option and selecting the New button so that a dialogue window appears...