Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > FBodyInstance
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 |
void SetBodyTransform
&40;
const FTransform & NewTransform,
ETeleportType Teleport,
bool bAutoWake
&41;
Remarks
Move the physics body to a new pose.
Parameters
Name | Description |
---|---|
bTeleport | If true, no velocity is inferred on the kinematic body from this movement, but it moves right away. |