Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
Set bSimulatePhysics to true for all bone bodies. Does not change the component bSimulatePhysics flag.
| Name | SetAllBodiesSimulatePhysics |
| 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 SetAllBodiesSimulatePhysics
(
bool bNewSimulate
)