Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UPhysicalAnimationComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicalAnimationComponent.h |
Include | #include "PhysicsEngine/PhysicalAnimationComponent.h" |
Syntax
class UPhysicalAnimationComponent : public UActorComponent
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | StrengthMultiplyer | Multiplies the strength of any active motors. (can blend from 0-1 for example) |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UPhysicalAnimationComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ApplyPhysicalAnimationProfileBelow
(
FName BodyName, |
Applies the physical animation profile to the body given and all bodies below. |
![]() |
void | ApplyPhysicalAnimationSettings
(
FName BodyName, |
Applies the physical animation settings to the body given. |
![]() |
void | ApplyPhysicalAnimationSettingsBelow
(
FName BodyName, |
Applies the physical animation settings to the body given and all bodies below. |
![]() ![]() |
void | DebugDraw
(
FPrimitiveDrawInterface* PDI |
|
![]() ![]() |
FTransform | GetBodyTargetTransform
(
FName BodyName |
Returns the target transform for the given body. |
![]() ![]() |
USkeletalMeshComponent * | ||
![]() |
void | SetSkeletalMeshComponent
(
USkeletalMeshComponent* InSkeletalMeshComponent |
Sets the skeletal mesh we are driving through physical animation. |
![]() |
void | SetStrengthMultiplyer
(
float InStrengthMultiplyer |
Updates strength multiplyer and any active motors |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Initializes the component. | |
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginDestroy () |
Called before destroying the object. |
Constants
Name | Description |
---|---|
PhysicalAnimationProfile |