Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
- UPrimitiveComponent::SetSimulatePhysics()
- USkeletalMeshComponent::SetSimulatePhysics()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
virtual void SetSimulatePhysics
&40;
bool bSimulate
&41;
Remarks
Sets whether or not a single body should use physics simulation, or should be 'fixed' (kinematic). Note that if this component is currently attached to something, beginning simulation will detach it.
Parameters
| Name | Description |
|---|---|
| bSimulate | New simulation state for single body |