FBodyInstance::SetBodyTransform

Move the physics body to a new pose.

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

void SetBodyTransform
(
    const FTransform & NewTransform,
    ETeleportType Teleport,
    bool bAutoWake
)

Remarks

Move the physics body to a new pose.

Parameters

Parameter

Description

bTeleport

If true, no velocity is inferred on the kinematic body from this movement, but it moves right away.

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