| UPrimitiveComponent::SetSimulatePhysics()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
Include |
#include "Components/PrimitiveComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
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.
Parameter |
Description |
---|---|
bSimulate |
New simulation state for single body |