FBodyInstance::Weld

Takes two body instances and welds them together to create a single simulated rigid body.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "PhysicsEngine/BodyInstance.h"

Source

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

Syntax

bool Weld
(
    FBodyInstance * Body,
    const FTransform & RelativeTM
)

Remarks

Takes two body instances and welds them together to create a single simulated rigid body. Returns true if success.

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