UPrimitiveComponent::GetComponentTransformFromBodyInstance

Called to get the Component To World Transform from the Root BodyInstance This needs to be virtual since SkeletalMeshComponent Root has to undo its own transform Without this, the root LocalToAtom is overridden by physics simulation, causing kinematic velocity to accelerate simulation

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::GetComponentTransformFromBodyInstance()

USkeletalMeshComponent::GetComponentTransformFromBodyInstance()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp

Syntax

virtual FTransform GetComponentTransformFromBodyInstance
(
    FBodyInstance * UseBI
)

Remarks

Called to get the Component To World Transform from the Root BodyInstance This needs to be virtual since SkeletalMeshComponent Root has to undo its own transform Without this, the root LocalToAtom is overridden by physics simulation, causing kinematic velocity to accelerate simulation

Returns

Parameters

Parameter

Description

UseBI - root body instance

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