Physics Constraint Component User Guide

A user guide on using the Physics Constraint Component in Blueprints.

Choose your operating system:




On this page


Physics Constraint Components operate just like Physics Constraints Actors , except they are used in Blueprints or can be created in C++. Given the flexibility of Blueprints and the power of C++, you can constrain just about any Physics Body in your project using Physics Constraint Components.

This document will cover Physics Constraint Component basic creation in a Blueprint.

This document assumes that the user has some knowledge of Blueprints and the Blueprint Editor . See: Blueprint Visual Scripting for more information.


  1. Create the Components that will be used to constrain. For this demonstration, two StaticMesh Components referencing the StaticMesh Shape_Cube will be used.


    You will need to position your Components that you want constrained. For this guide, these two cubes are used.

  2. Enable Simulate Physics for the lower of the two StaticMesh Components.


  3. Add Component => Physics Constraint .


  4. Position the Physics Constraint Component where you wish the joint of the constraint to be.


  5. You must manually type in the names of the StaticMesh Components you wish to constrain in the Details panel of the Physics Constraint Component. Type in the component name you wish to constrain in the Component Name 1 => Component Name property.


  6. Type in the component name you wish to constrain in the Component Name 2 => Component Name property.


  7. Set the Angular Limit Properties:

    • Set Swing 1 Motion and Swing 2 Motion to Limited .

    • Set Swing 1Limit Angle and Swing 2Limit Angle to 45 degrees.

    • Expand the Advanced properties using the down-arrow icon , then under Swing Limts , disable Soft Constraint .


    Want to know what all the properties on a Physics Constraint Component affect? See the Physics Constraint Reference for specific details.

  8. Rotate the Physics Constraint Component as necessary to account for Linear and Angular Limits.


  9. Place the Blueprint Actor in a level and position it where you need it.


  10. Test by using Simulate in Editor or Play in Editor .


Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey