UPhysicsAsset::BodyFindConstraints

Find all the constraints that are connected to a particular body.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsAsset.h

Include

#include "PhysicsEngine/PhysicsAsset.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsAsset.cpp

Syntax

void BodyFindConstraints
(
    int32 BodyIndex,
    TArray< int32 > & Constraints
)

Remarks

Find all the constraints that are connected to a particular body.

Parameters

Parameter

Description

BodyIndex

The index of the body to find the constraints for

Constraints

Returns the found constraints

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