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

Customizing physics constraint actor


Now we know that this actor connects two objects to each other by supporting the gravity and physical aspects of each object. We also know that it is invisible to players. In addition, Physics Constraint Actor has some properties that strongly shape the physical behavior of objects. Let's start with position. Switch back to four views and move your Physics Constraint Actor close to the upper cube, as shown in the following screenshot:

Now, press Play and shoot the cube. As you can see, it even goes over the upper cube. It seems that the rotation point is going higher. This is correct. The exact description is that you move your physics constraint actor to the top. This basically changes the way these two objects behave based on physical rules.

Now, click on Stop. Then, click on your physics constraint actor and press F. In Angular Limits, in the Details section on the right-hand side, set Angular Swing 1Motion to Locked, Angular Twist Motion to Limited...