Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/Plugins/ApexDestruction/UDestructibleComponent
- UPrimitiveComponent::SetSimulatePhysics()
- UDestructibleComponent::SetSimulatePhysics()
References
| Module | ApexDestruction |
| Header | /Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Public/DestructibleComponent.h |
| Include | #include "DestructibleComponent.h" |
| Source | /Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Private/DestructibleComponent.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 |