Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/FAnimNode_RigidBody
Description
Set the override physics asset. This will automatically trigger a physics re-init in case the override physics asset changes. Users can get access to this in the Animation Blueprint via the Animation Node Functions.
| Name | SetOverridePhysicsAsset |
| Type | function |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_RigidBody.h |
| Include Path | #include "BoneControllers/AnimNode_RigidBody.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_RigidBody.cpp |
void SetOverridePhysicsAsset
(
UPhysicsAsset * PhysicsAsset
)