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

Collision interactions – a section review


In this section, we got our hands dirty by applying the different combinations of collision presets to the First Person Projectile blueprint to see how it interacts with the physics actors in our game world. By setting the Physics Body object response to Block, the Event Hit event node will be called. Also, an impulse will be created at the projectiles' location, resulting in a small push force applied to the physics actor the projectile collides with. By setting the Physics Body object response to Overlap, we can use the On Component Begin Overlap Event node to call different actions once the projectile overlaps with a physics actor. We just need to make sure that the physics actors in our level and our projectile have the Generate Overlap Events set to True. Lastly, we briefly discussed the results of when our projectile has the Physics Body object response set to Ignore. Like the name suggests, it ignores the object response, and no events are...