USkeletalMeshComponent::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

Override Hierarchy

UPrimitiveComponent::GetComponentTransformFromBodyInstance()

USkeletalMeshComponent::GetComponentTransformFromBodyInstance()

References

Module

Engine

Header

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

Include

#include "Components/SkeletalMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.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
Cancel