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

A simple game with Blueprint


After you click on Stop, select the cubes and your actor. Then, hold Alt and create a copy of all by moving on the Y axis. Now, click on the second actor and pick the upper and lower cubes. Then, select one point light object from Modes | Basic on the left-hand side and place it close to the stage surface between the two cubes. Our goal is to turn on the light when the cubes experience collision and break one of the cube's physical constraints.

Now, click on point light and navigate to Rendering in the Details section and uncheck Visible:

Now, click on Blueprint and select Open Level Blueprint. Navigate back to editor and select your point light. Now, go back to the Blueprint editor, right click on it, and select Create a Reference to PointLight from the list. You will have a curvy box with the PointLight title on your blueprint stage. Now, locate the small blue hollow circle in the top-right corner of your point light box. Then, click and hold the mouse and move...