O'Reilly logo

Unreal Engine Game Development Blueprints by Nicola Valcasara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Physics constraint

A physics constraint is a joint that allows you to connect two Actors or component together and also apply limits or forces on them.

UE4 has a very flexible and data-driven constraint system that allows you to make many different types of joints simply by changing some options. With these components, you are able to create many different objects such as swinging balls, wheels, and gears mechanisms, or simply keep a physics body in a general area.

You can create a Physics Constraint within the scene using Physics Constraint Actor from the Modes panel, or using Physics Constraint Component within a Blueprint class. They are basically the same object with the same properties. The Actor has three prefab settings (ball and socket, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required