Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
bool GetRigidBodyState
(
FRigidBodyState & OutState,
FName BoneName
)
Remarks
Get the state of the rigid body responsible for this Actor's physics, and fill in the supplied FRigidBodyState struct based on it. true if we successfully found a physics-engine body and update the state structure from it.