UPhysicalAnimationComponent

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "PhysicsEngine/PhysicalAnimationComponent.h"

Syntax

class UPhysicalAnimationComponent : public UActorComponent

Variables

Name Description

Public variable

float

 

StrengthMultiplyer

Multiplies the strength of any active motors. (can blend from 0-1 for example)

Constructors

Name Description

Public function

UPhysicalAnimationComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

ApplyPhysicalAnimationProfileBelow

(
    FName BodyName,
    FName ProfileName,
    bool bIncludeSelf,
    bool bClearNotFound
)

Applies the physical animation profile to the body given and all bodies below.

Public function

void

 

ApplyPhysicalAnimationSettings

(
    FName BodyName,
    const FPhysicalAnimationData& Phys...
)

Applies the physical animation settings to the body given.

Public function

void

 

ApplyPhysicalAnimationSettingsBelow

(
    FName BodyName,
    const FPhysicalAnimationData& Phys...,
    bool bIncludeSelf
)

Applies the physical animation settings to the body given and all bodies below.

Public function Const

void

 

DebugDraw

(
    FPrimitiveDrawInterface* PDI
)

Public function Const

FTransform

 

GetBodyTargetTransform

(
    FName BodyName
)

Returns the target transform for the given body.

Public function Const

USkeletalMes...

 

GetSkeletalMesh()

Public function

void

 

SetSkeletalMeshComponent

(
    USkeletalMeshComponent* InSkel...
)

Sets the skeletal mesh we are driving through physical animation.

Public function

void

 

SetStrengthMultiplyer

(
    float InStrengthMultiplyer
)

Updates strength multiplyer and any active motors

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

InitializeComponent()

Initializes the component.

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Constants

Name

Description

PhysicalAnimationProfile

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