How-To Create a Physics Constraint Profile

This how-to will show you how to create a Physics Constraint Profile using the Physics Asset Editor.

Windows
MacOS
Linux

In this How-To, we will cover the basics of creating a Constraint Profile and adding Physics Constraints to it.

Steps

  1. Find or Create a Physics Asset for your Skeletal Mesh using the Content Browser.

    Physics Asset in the Content Browser

    If opting to create a new Physics Asset, you will need to set it up before continuing.

  2. Double-click the Physics Asset to open the Physics Asset Editor.

    The Physics Asset Editor main user interface

  3. Under the Windows menu, select Profiles; the Profiles window should appear as a docked tab.

    Windows menu with Profiles highlighted

  4. Add a Profile using the New button on the Constraints Profiles section, and set its name (in the image below we've named it DocsConstraintProfile).

    Adding and naming a new Constraints Profile

  5. Select the Physics Constraint you want to include in your new Constraint Profile in the Skeleton Tree panel, the Physics Graph panel, or the Viewport.

    To see Constraints in the Skeleton Tree panel, select Show Constraints in the Options dropdown menu.

  6. Press the Assign button in the Profiles panel.

    Assigning Constraints to a Profile

    1 - Assign button

    2 - Constraints selected in the Skeleton Tree panel

    3 - Constraints selected in the Physics Graph panel

    4 - Constraints selected in the Viewport

  7. Adjust the properties for the selected Physics Constraints.

    Adjusting Physical Constraint Properties

  8. Repeat steps 5-7 for all the Physics Constraints you want to add to the Constraint Profile.

    You can select, assign, and edit the Properties of multiple Constraints simultaneously. You only need to edit them individually if you want their Properties to be different.

  9. Save your Physics Asset using the Save button in the Physics Asset Editor.

    saveButton.png

You can edit an existing Constraints Profile by selecting it in the dropdown menu, then using Assign to add new Constraints, or using Unassign to remove existing Constraints.

Result

The Physics Asset now has a profile that can be called upon from Blueprint or C++ to change its Physical Constraint properties.

Additional Resources

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback