Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
[WARNING: Chaos Only] Set all of the bones below passed in bone to be disabled or not for the associated physics solver Bodies will not be colliding or be part of the physics simulation. This is different from SetAllBodiesBelowSimulatePhysics that changes bodies to Kinematic/simulated
| Name | SetAllBodiesBelowPhysicsDisabled |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include Path | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
UFUNCTION (BlueprintCallable, Category="Physics")
void SetAllBodiesBelowPhysicsDisabled
(
const FName & InBoneName,
bool bDisabled,
bool bIncludeSelf
)