UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_AnimDynamics.h File Reference
#include "CoreMinimal.h"
#include "Stats/Stats.h"
#include "UObject/ObjectMacros.h"
#include "BoneContainer.h"
#include "Animation/AnimPhysicsSolver.h"
#include "BonePose.h"
#include "BoneControllers/AnimNode_SkeletalControlBase.h"
#include "Animation/AnimInstanceProxy.h"
#include "CommonAnimationTypes.h"
#include "AnimNode_AnimDynamics.generated.h"

Go to the source code of this file.

Classes

struct  FAnimPhysBoneRigidBody
 
struct  FAnimPhysLinkedBody
 
struct  FAnimPhysConstraintSetup
 
struct  FAnimPhysPlanarLimit
 
struct  FAnimPhysSphericalLimit
 
struct  FAnimPhysBodyDefinition
 
struct  FAnimConstraintOffsetPair
 
struct  TIsPODType< FAnimPhysSimSpaceSettings >
 
struct  FAnimPhysSimSpaceSettings
 
struct  FAnimNode_AnimDynamics
 

Enumerations

enum class  AnimPhysAngularConstraintType : uint8 { Angular , Cone }
 
enum class  AnimPhysLinearConstraintType : uint8 { Free , Limited }
 
enum class  AnimPhysSimSpaceType : uint8 {
  UMETA =(ToolTip = "Sim origin is the location/orientation of the skeletal mesh component.") , UMETA =(ToolTip = "Sim origin is the location/orientation of the actor containing the skeletal mesh component.") , UMETA =(ToolTip = "Sim origin is the world origin. Teleporting characters is not recommended in this mode.") , UMETA =(ToolTip = "Sim origin is the location/orientation of the root bone.") ,
  UMETA =(ToolTip = "Sim origin is the location/orientation of the bone specified in RelativeSpaceBone")
}
 
enum class  ESphericalLimitType : uint8 { Inner , Outer }
 

Functions

 DECLARE_CYCLE_STAT_EXTERN (TEXT("Anim Dynamics Overall"), STAT_AnimDynamicsOverall, STATGROUP_Physics, ANIMGRAPHRUNTIME_API)
 
 DECLARE_CYCLE_STAT_EXTERN (TEXT("Anim Dynamics Wind Data Update"), STAT_AnimDynamicsWindData, STATGROUP_Physics, ANIMGRAPHRUNTIME_API)
 
 DECLARE_CYCLE_STAT_EXTERN (TEXT("Anim Dynamics Bone Evaluation"), STAT_AnimDynamicsBoneEval, STATGROUP_Physics, ANIMGRAPHRUNTIME_API)
 
 DECLARE_DWORD_COUNTER_STAT_EXTERN (TEXT("Anim Dynamics Sub-Steps"), STAT_AnimDynamicsSubSteps, STATGROUP_Physics, ANIMGRAPHRUNTIME_API)
 

Variables

TAutoConsoleVariable< int32CVarEnableDynamics
 
ANIMGRAPHRUNTIME_API TAutoConsoleVariable< int32CVarLODThreshold
 
TAutoConsoleVariable< int32CVarEnableWind
 

Enumeration Type Documentation

◆ AnimPhysAngularConstraintType

Supported angular constraint types

Enumerator
Angular 
Cone 

◆ AnimPhysLinearConstraintType

Supported linear axis constraints

Enumerator
Free 
Limited 

◆ AnimPhysSimSpaceType

Enumerator
UMETA 
UMETA 
UMETA 
UMETA 
UMETA 

◆ ESphericalLimitType

enum class ESphericalLimitType : uint8
strong

Whether spheres keep bodies inside, or outside of their shape

Enumerator
Inner 
Outer 

Function Documentation

◆ DECLARE_CYCLE_STAT_EXTERN() [1/3]

DECLARE_CYCLE_STAT_EXTERN ( TEXT("Anim Dynamics Bone Evaluation" ,
STAT_AnimDynamicsBoneEval  ,
STATGROUP_Physics  ,
ANIMGRAPHRUNTIME_API   
)

◆ DECLARE_CYCLE_STAT_EXTERN() [2/3]

DECLARE_CYCLE_STAT_EXTERN ( TEXT("Anim Dynamics Overall" ,
STAT_AnimDynamicsOverall  ,
STATGROUP_Physics  ,
ANIMGRAPHRUNTIME_API   
)

◆ DECLARE_CYCLE_STAT_EXTERN() [3/3]

DECLARE_CYCLE_STAT_EXTERN ( TEXT("Anim Dynamics Wind Data Update" ,
STAT_AnimDynamicsWindData  ,
STATGROUP_Physics  ,
ANIMGRAPHRUNTIME_API   
)

◆ DECLARE_DWORD_COUNTER_STAT_EXTERN()

DECLARE_DWORD_COUNTER_STAT_EXTERN ( TEXT("Anim Dynamics Sub-Steps" ,
STAT_AnimDynamicsSubSteps  ,
STATGROUP_Physics  ,
ANIMGRAPHRUNTIME_API   
)

Variable Documentation

◆ CVarEnableDynamics

TAutoConsoleVariable<int32> CVarEnableDynamics
extern

◆ CVarEnableWind

TAutoConsoleVariable<int32> CVarEnableWind
extern

◆ CVarLODThreshold